package com.sg.service.biz.app.impl;

import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.CollectionUtil;
import com.github.pagehelper.Page;
import com.sg.common.util.CommonFunctionHelper;
import com.sg.common.util.RedisUtil;
import com.sg.dto.biz.app.req.*;
import com.sg.dto.biz.app.res.*;
import com.sg.dto.integration.component.MemberMsgReceiveDto;
import com.sg.dto.integration.component.QueryConfItemMatchAnswerDetailComReqDto;
import com.sg.service.base.app.MOmsEvaluationObjectTargetCycleService;
import com.sg.service.base.app.MOmsQuestionService;
import com.sg.service.base.app.MOmsTaskService;
import com.sg.service.base.app.MOmsVirtualOrgMemberService;
import com.sg.service.biz.app.*;
import com.sg.common.exception.Assert;
import com.wicket.okrapp.common.exception.BizException;
import com.wicket.okrcomponent.integration.*;
import com.wicket.okrcomponent.integration.dto.*;
import com.wicket.okrframework.integration.BatchService;
import com.wicket.okrframework.integration.InductionRecordService;
import com.wicket.okrframework.integration.dto.*;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;


/**
 * @author ：
 * @version 1.0
 * @date ：
 */
@Service
public class QuestionServiceImpl
        implements com.wicket.okrapp.biz.service.QuestionService {

    @Resource
    private RedisUtil redisUtil;
    @Resource
    private MOmsVirtualOrgMemberService mOmsVirtualOrgMemberService;
    @Resource
    private NbQuestion nbQuestion;
    @Resource
    private VirtualOrgService virtualOrgService;
    @Resource
    private InductionRecordService inductionRecordService;

    /**
     * D3查询问题详情(公共)[7817]
     * gen by moon at 11/15/2023, 6:29:22 PM
     */
    @Trace(operationName = "D3查询问题详情(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryQuestionDetailComRespDto queryQuestionDetailCom(QueryQuestionDetailComReqDto reqDto) {


        OmsQuestion omsQuestion_1 = null;
//步骤0: 3-7-02-查询问题详情 - queryQuestionDetail
        OmsQuestion omsQuestion = null;
        QueryQuestionDetailReq queryQuestionDetailReq = new QueryQuestionDetailReq();
        if (reqDto != null) {
            queryQuestionDetailReq.setQuestionId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1264522_1
            queryQuestionDetailReq.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1264567_1
            queryQuestionDetailReq.setBizAppCode(reqDto.getBizAppCode());//SimpleFieldAssign//sourceId:1321951_1
            queryQuestionDetailReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1264523_1
        }

        /*3-7-02-查询问题详情[7783]   */
        Assert.isNull(queryQuestionDetailReq.getSpaceId(), "D3查询问题详情(公共)-3-7-02-查询问题详情-创建于空间ID不能为空", false);
        omsQuestion = mOmsQuestionService.queryQuestionDetail(queryQuestionDetailReq)/*vcase invoke 本地 method 方法调用;*/;


        omsQuestion_1 = omsQuestion;

        QueryQuestionDetailComRespDto retData = new QueryQuestionDetailComRespDto();
        if (omsQuestion_1 != null) {
            retData.setQuestionId(omsQuestion_1.getQuestionId());//SimpleFieldAssign//sourceId:1264571_1
            retData.setQuestionNumber(omsQuestion_1.getQuestionNumber());//SimpleFieldAssign//sourceId:1264572_1
            retData.setQuestionCode(omsQuestion_1.getQuestionCode());//SimpleFieldAssign//sourceId:1264573_1
            retData.setQuestionIntroduce(omsQuestion_1.getQuestionIntroduce());//SimpleFieldAssign//sourceId:1264574_1
            retData.setQuestionDesc(omsQuestion_1.getQuestionDesc());//SimpleFieldAssign//sourceId:1264575_1
            retData.setQuestionImg(omsQuestion_1.getQuestionImg());//SimpleFieldAssign//sourceId:1264576_1
            retData.setQuestionLevel(omsQuestion_1.getQuestionLevel());//SimpleFieldAssign//sourceId:1264577_1
            retData.setQuestionStatus(omsQuestion_1.getQuestionStatus());//SimpleFieldAssign//sourceId:1264578_1
            retData.setRemarks(omsQuestion_1.getRemarks());//SimpleFieldAssign//sourceId:1264579_1
            retData.setIsPrivate(omsQuestion_1.getIsPrivate());//SimpleFieldAssign//sourceId:1264580_1
            retData.setIsOvertime(omsQuestion_1.getIsOvertime());//SimpleFieldAssign//sourceId:1310779_1
            retData.setOverTimeLength(omsQuestion_1.getOverTimeLength());//SimpleFieldAssign//sourceId:1310780_1
            retData.setActualSolveTime(omsQuestion_1.getActualSolveTime());//SimpleFieldAssign//sourceId:1264581_1
            retData.setActualSolveCycle(omsQuestion_1.getActualSolveCycle());//SimpleFieldAssign//sourceId:1264582_1
            retData.setArrangeSubjectId(omsQuestion_1.getArrangeSubjectId());//SimpleFieldAssign//sourceId:1264583_1
            retData.setArrangeSubjectTypeCode(omsQuestion_1.getArrangeSubjectTypeCode());//SimpleFieldAssign//sourceId:1264584_1
            retData.setReceiveSubjectId(omsQuestion_1.getReceiveSubjectId());//SimpleFieldAssign//sourceId:1264585_1
            retData.setSourceTypeCode(omsQuestion_1.getSourceTypeCode());//SimpleFieldAssign//sourceId:1264586_1
            retData.setTableTypeCode(omsQuestion_1.getTableTypeCode());//SimpleFieldAssign//sourceId:1264587_1
            retData.setEntityId(omsQuestion_1.getEntityId());//SimpleFieldAssign//sourceId:1264588_1
            retData.setParentTableTypeCode(omsQuestion_1.getParentTableTypeCode());//SimpleFieldAssign//sourceId:1264589_1
            retData.setParentEntityId(omsQuestion_1.getParentEntityId());//SimpleFieldAssign//sourceId:1264590_1
            retData.setThemeContentTypeCode(omsQuestion_1.getThemeContentTypeCode());//SimpleFieldAssign//sourceId:1264591_1
            retData.setThemeContentId(omsQuestion_1.getThemeContentId());//SimpleFieldAssign//sourceId:1264592_1
            retData.setCoordObjectTypeCode(omsQuestion_1.getCoordObjectTypeCode());//SimpleFieldAssign//sourceId:1264593_1
            retData.setCoordObjectId(omsQuestion_1.getCoordObjectId());//SimpleFieldAssign//sourceId:1264594_1
            retData.setDockingAppTypeCode(omsQuestion_1.getDockingAppTypeCode());//SimpleFieldAssign//sourceId:1264595_1
            retData.setDockingAppId(omsQuestion_1.getDockingAppId());//SimpleFieldAssign//sourceId:1264596_1
            retData.setBizAppCode(omsQuestion_1.getBizAppCode());//SimpleFieldAssign//sourceId:1264597_1
            retData.setBizSceneCode(omsQuestion_1.getBizSceneCode());//SimpleFieldAssign//sourceId:1264598_1
            retData.setOrderNumber(omsQuestion_1.getOrderNumber());//SimpleFieldAssign//sourceId:1264599_1
            retData.setRelevantPeopleNum(omsQuestion_1.getRelevantPeopleNum());//SimpleFieldAssign//sourceId:1264600_1
            retData.setIsArchive(omsQuestion_1.getIsArchive());//SimpleFieldAssign//sourceId:1264601_1
            retData.setSubjectLifeCycle(omsQuestion_1.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1264602_1
            retData.setOperationInductionId(omsQuestion_1.getOperationInductionId());//SimpleFieldAssign//sourceId:1264603_1
            retData.setCreateInductionId(omsQuestion_1.getCreateInductionId());//SimpleFieldAssign//sourceId:1264604_1
            retData.setReleaseInductionId(omsQuestion_1.getReleaseInductionId());//SimpleFieldAssign//sourceId:1264605_1
            retData.setArchiveInductionId(omsQuestion_1.getArchiveInductionId());//SimpleFieldAssign//sourceId:1264606_1
            retData.setOperateTime(omsQuestion_1.getOperateTime());//SimpleFieldAssign//sourceId:1264607_1
            retData.setCreateTime(omsQuestion_1.getCreateTime());//SimpleFieldAssign//sourceId:1264608_1
            retData.setReleaseTime(omsQuestion_1.getReleaseTime());//SimpleFieldAssign//sourceId:1264609_1
            retData.setArchiveTime(omsQuestion_1.getArchiveTime());//SimpleFieldAssign//sourceId:1264610_1
            retData.setSpaceId(omsQuestion_1.getSpaceId());//SimpleFieldAssign//sourceId:1264612_1
            retData.setAppId(omsQuestion_1.getAppId());//SimpleFieldAssign//sourceId:1264613_1
        }


        return retData;
    }

    /**
     * D3查询问题列表(公共)[7759]
     * gen by moon at 12/24/2023, 10:24:59 PM
     */
    @Trace(operationName = "D3查询问题列表(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryQuestionListComRespDto queryQuestionListCom(QueryQuestionListComReqDto reqDto) {


        ImplementTypeCodeFieldsAcceptRespDto receptionServiceRes_1 = null;
//virtualUsage D3执行筛选条件转换(公共)  53211
        ImplementFilterCriteriaConversionComRespDto implementFilterCriteriaConversionComRespDto = null;
        ImplementFilterCriteriaConversionComReqDto implementFilterCriteriaConversionComReqDto = new ImplementFilterCriteriaConversionComReqDto();
        if (reqDto != null) {
            implementFilterCriteriaConversionComReqDto.setQuestionStatusScreen(reqDto.getQuestionStatusScreen());//SimpleFieldAssign//sourceId:1300381_1_53211
        }

        /*D3执行筛选条件转换(公共)[7912]   */
        Assert.isNull(implementFilterCriteriaConversionComReqDto.getQuestionStatusScreen(), "D3查询问题列表(公共)-D3执行筛选条件转换(公共)-问题状态筛选条件不能为空", false);
        implementFilterCriteriaConversionComRespDto = workTasksService.implementFilterCriteriaConversionCom(implementFilterCriteriaConversionComReqDto)/*vcase invoke isSameApp*/;

        // TODO: 2023/11/13 手写代码
        Page<?> page = null;


        if ((reqDto != null && reqDto.getQuestionProposeTypeScreen() != null && reqDto.getQuestionProposeTypeScreen().equals("MY_QUESTION") && reqDto != null && reqDto.getOriginalRoleMemberId() != null) || (reqDto != null && reqDto.getQuestionProposeTypeScreen() != null && reqDto.getQuestionProposeTypeScreen().equals("MY_QUESTION") && reqDto != null && reqDto.getVirtualOrgInductionRecordId() != null) || (reqDto != null && reqDto.getQuestionProposeTypeScreen() != null && reqDto.getQuestionProposeTypeScreen().equals("ALL_QUESTION") && reqDto != null && reqDto.getVirtualOrgInductionRecordId() != null) || (reqDto != null && reqDto.getQuestionProposeTypeScreen() != null && reqDto.getQuestionProposeTypeScreen().equals("ALL_QUESTION") && reqDto != null && reqDto.getDeptId() != null && reqDto != null && reqDto.getArrangeSubjectId() == null) || (reqDto != null && reqDto.getQuestionProposeTypeScreen() == null && reqDto != null && reqDto.getOriginalRoleMemberId() != null)) {
            //if((D3查询问题列表(公共).问题提出类型筛选条件 等于 我发起的 and D3查询问题列表(公共).身份人员ID 值不等于空 ) or (D3查询问题列表(公共).问题提出类型筛选条件 等于 我发起的 and D3查询问题列表(公共).虚拟组织成员就职记录ID 值不等于空 ) or (D3查询问题列表(公共).问题提出类型筛选条件 等于 所有问题 and D3查询问题列表(公共).虚拟组织成员就职记录ID 值不等于空 ) or (D3查询问题列表(公共).问题提出类型筛选条件 等于 所有问题 and D3查询问题列表(公共).中基层部门ID 值不等于空  and D3查询问题列表(公共).安排主体ID 值等于空 ) or (D3查询问题列表(公共).问题提出类型筛选条件 值等于空  and D3查询问题列表(公共).身份人员ID 值不等于空 ))  52148

            QueryGroupsQuestionListComRespDto queryGroupsQuestionListComRespDto = null;
            QueryGroupsQuestionListComReqDto queryGroupsQuestionListComReqDto = new QueryGroupsQuestionListComReqDto();
            if (reqDto != null) {
                queryGroupsQuestionListComReqDto.setBatchOperateScene(reqDto.getBatchOperateScene());//SimpleFieldAssign//sourceId:1426497_1_56968
                queryGroupsQuestionListComReqDto.setQuestionProposeTypeScreen(reqDto.getQuestionProposeTypeScreen());//SimpleFieldAssign//sourceId:1426498_1_56968
                queryGroupsQuestionListComReqDto.setQuestionAngleScreen(reqDto.getQuestionAngleScreen());//SimpleFieldAssign//sourceId:1426506_1_56968
                queryGroupsQuestionListComReqDto.setCreateInductionId(reqDto.getCreateInductionId());//SimpleFieldAssign//sourceId:1426504_1_56968
                queryGroupsQuestionListComReqDto.setPrincipalInductionId(reqDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:1426505_1_56968
                queryGroupsQuestionListComReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1426499_1_56968
                queryGroupsQuestionListComReqDto.setIsDirectStakeholders(reqDto.getIsDirectStakeholders());//SimpleFieldAssign//sourceId:1426500_1_56968
                queryGroupsQuestionListComReqDto.setArrangeSubjectId(reqDto.getArrangeSubjectId());//SimpleFieldAssign//sourceId:1426501_1_56968
                queryGroupsQuestionListComReqDto.setReceiveSubjectId(reqDto.getReceiveSubjectId());//SimpleFieldAssign//sourceId:1426502_1_56968
                queryGroupsQuestionListComReqDto.setMidOrBasicDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:1426507_1_56968
            }

            /*D3查询小圈子问题列表(公共)[8162]   */
            Assert.isNull(queryGroupsQuestionListComReqDto.getBatchOperateScene(), "D3查询问题列表(公共)-D3查询小圈子问题列表(公共)-高/中/基层操作场景不能为空", false);
            queryGroupsQuestionListComRespDto = virtualOrgService.queryGroupsQuestionListCom(queryGroupsQuestionListComReqDto)/*vcase invoke isSameApp*/;


            // TODO: 2022/9/9  晓东，分页改造
            page = CommonFunctionHelper.startPage(reqDto.getPageNum(), reqDto.getPageSize());
            List<OmsQuestion> listOmsQuestion = new ArrayList<>();
            if (queryGroupsQuestionListComRespDto != null && implementFilterCriteriaConversionComRespDto != null) {
                BatchQueryQuestionReq batchQueryQuestionReq = new BatchQueryQuestionReq();
                batchQueryQuestionReq.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1258808_1_52253
                if (queryGroupsQuestionListComRespDto != null) {
                    batchQueryQuestionReq.setQuestionList(queryGroupsQuestionListComRespDto.getQuestionList());//list-field-assign//sourceId:1258770_1_52253
                }
                if (reqDto != null) {
                    batchQueryQuestionReq.setQuestionNumber(reqDto.getQuestionNumber());//SimpleFieldAssign//sourceId:1258771_1_52253
                    batchQueryQuestionReq.setQuestionIntroduce(reqDto.getQuestionIntroduce());//SimpleFieldAssign//sourceId:1258772_1_52253
                    batchQueryQuestionReq.setQuestionLevel(reqDto.getQuestionLevel());//SimpleFieldAssign//sourceId:1258773_1_52253
                    batchQueryQuestionReq.setIsPrivate(reqDto.getIsPrivate());//SimpleFieldAssign//sourceId:1258774_1_52253
                    batchQueryQuestionReq.setArrangeSubjectId(reqDto.getArrangeSubjectId());//SimpleFieldAssign//sourceId:1258775_1_52253
                    batchQueryQuestionReq.setReceiveSubjectId(reqDto.getReceiveSubjectId());//SimpleFieldAssign//sourceId:1258776_1_52253
                    batchQueryQuestionReq.setSourceTypeCode(reqDto.getSourceTypeCode());//SimpleFieldAssign//sourceId:1258777_1_52253
                    batchQueryQuestionReq.setCoordObjectId(reqDto.getCoordObjectId());//SimpleFieldAssign//sourceId:1258778_1_52253
                    batchQueryQuestionReq.setBizAppCode(reqDto.getBizAppCode());//SimpleFieldAssign//sourceId:1321921_1_52253
                    batchQueryQuestionReq.setCreateInductionId(reqDto.getCreateInductionId());//SimpleFieldAssign//sourceId:1258780_1_52253
                    batchQueryQuestionReq.setCreateTime(reqDto.getCreateTime());//SimpleFieldAssign//sourceId:1258807_1_52253
                }
                if (implementFilterCriteriaConversionComRespDto != null) {
                    batchQueryQuestionReq.setQuestionStatus(implementFilterCriteriaConversionComRespDto.getQuestionStatus());//SimpleFieldAssign//sourceId:1322038_1_52253
                    batchQueryQuestionReq.setIsOvertime(implementFilterCriteriaConversionComRespDto.getIsOvertime());//SimpleFieldAssign//sourceId:1300350_1_52253
                    batchQueryQuestionReq.setSubjectLifeCycle(implementFilterCriteriaConversionComRespDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1258779_1_52253
                }

                /*3-7-02批量查询问题[7812]   */
                Assert.isNull(batchQueryQuestionReq.getSpaceId(), "D3查询问题列表(公共)-3-7-02批量查询问题-创建于空间ID不能为空", false);
                listOmsQuestion = mOmsQuestionService.batchQueryQuestion(batchQueryQuestionReq)/*vcase invoke 本地 method 方法调用;*/;


            }
//ModelCode: obtainPageTotals
            ImplementObtainPageTotalsRespDto obtainPageTotalsRes = null;
            ImplementObtainPageTotalsReqDto obtainPageTotalsReq = new ImplementObtainPageTotalsReqDto();


            /*M3-执行获取分页总条数（特殊方法）[8085]   */

            obtainPageTotalsRes = nbQuestion.implementObtainPageTotals(obtainPageTotalsReq);


//ModelCode: receptionService
            ImplementTypeCodeFieldsAcceptRespDto receptionServiceRes = null;
            ImplementTypeCodeFieldsAcceptReqDto receptionServiceReq = new ImplementTypeCodeFieldsAcceptReqDto();
            if (listOmsQuestion != null && !CollectionUtil.isEmpty(listOmsQuestion) && listOmsQuestion != null && !CollectionUtil.isEmpty(listOmsQuestion)) {
                receptionServiceReq.setQuestionList(listOmsQuestion.stream().map(item -> BeanUtil.toBean(item, QuestionDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1254066_1_53567
            }
            if (obtainPageTotalsRes != null) {
                receptionServiceReq.setTotals(obtainPageTotalsRes.getTotals());//SimpleFieldAssign//sourceId:1396326_1_53567
            }

            /*M3接收出参数据集结果[7735]  用于特殊方法接收上游入参。 */

            receptionServiceRes = nbQuestion.implementTypeCodeFieldsAccept(receptionServiceReq);


            receptionServiceRes_1 = receptionServiceRes;
        } else if ((reqDto != null && reqDto.getQuestionProposeTypeScreen() != null && reqDto.getQuestionProposeTypeScreen().equals("MY_QUESTION") && reqDto != null && reqDto.getCreateInductionId() != null && reqDto != null && reqDto.getVirtualOrgInductionRecordId() == null && reqDto != null && reqDto.getReceiveSubjectId() == null) || (reqDto != null && reqDto.getQuestionAngleScreen() != null && reqDto.getQuestionAngleScreen().equals("ISSUE") && reqDto != null && reqDto.getArrangeSubjectId() != null && reqDto != null && reqDto.getDeptId() == null && reqDto != null && reqDto.getVirtualOrgInductionRecordId() == null)) {
            //elseif((D3查询问题列表(公共).问题提出类型筛选条件 等于 我发起的 and D3查询问题列表(公共).创建人就职记录ID 值不等于空  and D3查询问题列表(公共).虚拟组织成员就职记录ID 值等于空  and D3查询问题列表(公共).接收部门ID 值等于空 ) or (D3查询问题列表(公共).问题视角筛选条件 等于 部门发起的 and D3查询问题列表(公共).安排主体ID 值不等于空  and D3查询问题列表(公共).中基层部门ID 值等于空  and D3查询问题列表(公共).虚拟组织成员就职记录ID 值等于空 ))  52149


            // TODO: 2022/9/9  晓东，分页改造
            page = CommonFunctionHelper.startPage(reqDto.getPageNum(), reqDto.getPageSize());
            List<OmsQuestion> listOmsQuestion_2 = new ArrayList<>();
            if (implementFilterCriteriaConversionComRespDto != null) {
                QueryBlurQueryQuestionListReq queryBlurQueryQuestionListReq = new QueryBlurQueryQuestionListReq();
                queryBlurQueryQuestionListReq.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1420204_1_56758
                if (reqDto != null) {
                    queryBlurQueryQuestionListReq.setQuestionNumber(reqDto.getQuestionNumber());//SimpleFieldAssign//sourceId:1420179_1_56758
                    queryBlurQueryQuestionListReq.setQuestionIntroduce(reqDto.getQuestionIntroduce());//SimpleFieldAssign//sourceId:1420180_1_56758
                    queryBlurQueryQuestionListReq.setQuestionLevel(reqDto.getQuestionLevel());//SimpleFieldAssign//sourceId:1420183_1_56758
                    queryBlurQueryQuestionListReq.setIsPrivate(reqDto.getIsPrivate());//SimpleFieldAssign//sourceId:1420186_1_56758
                    queryBlurQueryQuestionListReq.setArrangeSubjectId(reqDto.getArrangeSubjectId());//SimpleFieldAssign//sourceId:1420191_1_56758
                    queryBlurQueryQuestionListReq.setReceiveSubjectId(reqDto.getReceiveSubjectId());//SimpleFieldAssign//sourceId:1420192_1_56758
                    queryBlurQueryQuestionListReq.setSourceTypeCode(reqDto.getSourceTypeCode());//SimpleFieldAssign//sourceId:1420193_1_56758
                    queryBlurQueryQuestionListReq.setBizAppCode(reqDto.getBizAppCode());//SimpleFieldAssign//sourceId:1420199_1_56758
                    queryBlurQueryQuestionListReq.setCreateInductionId(reqDto.getCreateInductionId());//SimpleFieldAssign//sourceId:1420207_1_56758
                    queryBlurQueryQuestionListReq.setCreateTime(reqDto.getCreateTime());//SimpleFieldAssign//sourceId:1420202_1_56758
                }
                if (implementFilterCriteriaConversionComRespDto != null) {
                    queryBlurQueryQuestionListReq.setQuestionStatus(implementFilterCriteriaConversionComRespDto.getQuestionStatus());//SimpleFieldAssign//sourceId:1420184_1_56758
                    queryBlurQueryQuestionListReq.setIsOvertime(implementFilterCriteriaConversionComRespDto.getIsOvertime());//SimpleFieldAssign//sourceId:1420187_1_56758
                    queryBlurQueryQuestionListReq.setIsArchive(implementFilterCriteriaConversionComRespDto.getIsArchive());//SimpleFieldAssign//sourceId:1420201_1_56758
                    queryBlurQueryQuestionListReq.setSubjectLifeCycle(implementFilterCriteriaConversionComRespDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1420200_1_56758
                }

                /*3-7-02执行模糊查问题列表[8156]   */
                Assert.isNull(queryBlurQueryQuestionListReq.getSpaceId(), "D3查询问题列表(公共)-3-7-02执行模糊查问题列表-创建于空间ID不能为空", false);
                listOmsQuestion_2 = mOmsQuestionService.queryBlurQueryQuestionList(queryBlurQueryQuestionListReq)/*vcase invoke 本地 method 方法调用;*/;


            }
//ModelCode: obtainPageTotals
            ImplementObtainPageTotalsRespDto obtainPageTotalsRes_2 = null;
            ImplementObtainPageTotalsReqDto obtainPageTotalsReq_1 = new ImplementObtainPageTotalsReqDto();


            /*M3-执行获取分页总条数（特殊方法）[8085]   */

            obtainPageTotalsRes_2 = nbQuestion.implementObtainPageTotals(obtainPageTotalsReq_1);


//ModelCode: receptionService
            ImplementTypeCodeFieldsAcceptRespDto receptionServiceRes_2 = null;
            ImplementTypeCodeFieldsAcceptReqDto receptionServiceReq_1 = new ImplementTypeCodeFieldsAcceptReqDto();
            if (listOmsQuestion_2 != null && !CollectionUtil.isEmpty(listOmsQuestion_2) && listOmsQuestion_2 != null && !CollectionUtil.isEmpty(listOmsQuestion_2)) {
                receptionServiceReq_1.setQuestionList(listOmsQuestion_2.stream().map(item -> BeanUtil.toBean(item, QuestionDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1254066_1_53568
            }
            if (obtainPageTotalsRes_2 != null) {
                receptionServiceReq_1.setTotals(obtainPageTotalsRes_2.getTotals());//SimpleFieldAssign//sourceId:1396326_1_53568
            }

            /*M3接收出参数据集结果[7735]  用于特殊方法接收上游入参。 */

            receptionServiceRes_2 = nbQuestion.implementTypeCodeFieldsAccept(receptionServiceReq_1);


            receptionServiceRes_1 = receptionServiceRes_2;
        } else if ((reqDto != null && reqDto.getQuestionProposeTypeScreen() != null && reqDto.getQuestionProposeTypeScreen().equals("CURRENTLY_VALID_SUBQUESTION"))) {
            //elseif(D3查询问题列表(公共).问题提出类型筛选条件 等于 当前有效子问题列表)  55856


            // TODO: 2022/9/9  晓东，分页改造
            page = CommonFunctionHelper.startPage(reqDto.getPageNum(), reqDto.getPageSize());
            List<OmsQuestion> listOmsQuestion_4 = new ArrayList<>();
            if (implementFilterCriteriaConversionComRespDto != null) {
                QueryBlurQueryQuestionListReq queryBlurQueryQuestionListReq_1 = new QueryBlurQueryQuestionListReq();
                queryBlurQueryQuestionListReq_1.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1420204_1_56759
                if (reqDto != null) {
                    queryBlurQueryQuestionListReq_1.setIsPrivate(reqDto.getIsPrivate());//SimpleFieldAssign//sourceId:1420186_1_56759
                    queryBlurQueryQuestionListReq_1.setCoordObjectId(reqDto.getCoordObjectId());//SimpleFieldAssign//sourceId:1420197_1_56759
                }
                if (implementFilterCriteriaConversionComRespDto != null) {
                    queryBlurQueryQuestionListReq_1.setSubjectLifeCycle(implementFilterCriteriaConversionComRespDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1420200_1_56759
                }

                /*3-7-02执行模糊查问题列表[8156]   */
                Assert.isNull(queryBlurQueryQuestionListReq_1.getSpaceId(), "D3查询问题列表(公共)-3-7-02执行模糊查问题列表-创建于空间ID不能为空", false);
                listOmsQuestion_4 = mOmsQuestionService.queryBlurQueryQuestionList(queryBlurQueryQuestionListReq_1)/*vcase invoke 本地 method 方法调用;*/;


            }
//ModelCode: obtainPageTotals
            ImplementObtainPageTotalsRespDto obtainPageTotalsRes_3 = null;
            ImplementObtainPageTotalsReqDto obtainPageTotalsReq_2 = new ImplementObtainPageTotalsReqDto();


            /*M3-执行获取分页总条数（特殊方法）[8085]   */

            obtainPageTotalsRes_3 = nbQuestion.implementObtainPageTotals(obtainPageTotalsReq_2);


//ModelCode: receptionService
            ImplementTypeCodeFieldsAcceptRespDto receptionServiceRes_3 = null;
            ImplementTypeCodeFieldsAcceptReqDto receptionServiceReq_2 = new ImplementTypeCodeFieldsAcceptReqDto();
            if (listOmsQuestion_4 != null && !CollectionUtil.isEmpty(listOmsQuestion_4) && listOmsQuestion_4 != null && !CollectionUtil.isEmpty(listOmsQuestion_4)) {
                receptionServiceReq_2.setQuestionList(listOmsQuestion_4.stream().map(item -> BeanUtil.toBean(item, QuestionDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1254066_1_55864
            }
            if (obtainPageTotalsRes_3 != null) {
                receptionServiceReq_2.setTotals(obtainPageTotalsRes_3.getTotals());//SimpleFieldAssign//sourceId:1396326_1_55864
            }

            /*M3接收出参数据集结果[7735]  用于特殊方法接收上游入参。 */

            receptionServiceRes_3 = nbQuestion.implementTypeCodeFieldsAccept(receptionServiceReq_2);


            receptionServiceRes_1 = receptionServiceRes_3;
        } else {
            //else  53562

//异常结束 53563
            throw new BizException("500", "系统异常，请联系管理员！", false);
        }
        QueryQuestionListComRespDto retData = new QueryQuestionListComRespDto();
        if (receptionServiceRes_1 != null) {
            retData.setQuestionList(receptionServiceRes_1.getQuestionList().stream().map(item -> BeanUtil.toBean(item, QuestionDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1254160_1
            retData.setTotals(receptionServiceRes_1.getTotals());//SimpleFieldAssign//sourceId:1396329_1
        }


        // TODO: 2023/11/13 手写代码
        if (page != null) {
            retData.setPageNum(page.getPageNum());
            retData.setPageSize(page.getPageSize());
            retData.setTotalNum(page.getTotal());
        }


        return retData;
    }

    /**
     * D3修改问题(公共)[7782]
     * gen by moon at 11/12/2023, 4:10:42 AM
     */
    @Trace(operationName = "D3修改问题(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public UpdateQuestionComRespDto updateQuestionCom(UpdateQuestionComReqDto reqDto) {


        //步骤0: 3-7-02修改问题 - updateQuestion
        boolean bOOLEAN;
        OmsQuestion omsQuestion = new OmsQuestion();
        if (reqDto != null) {
            omsQuestion.setQuestionId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1255414_1
            omsQuestion.setQuestionNumber(reqDto.getQuestionNumber());//SimpleFieldAssign//sourceId:1263854_1
            omsQuestion.setQuestionIntroduce(reqDto.getQuestionIntroduce());//SimpleFieldAssign//sourceId:1255415_1
            omsQuestion.setQuestionDesc(reqDto.getQuestionDesc());//SimpleFieldAssign//sourceId:1255416_1
            omsQuestion.setQuestionImg(reqDto.getQuestionImg());//SimpleFieldAssign//sourceId:1255417_1
            omsQuestion.setQuestionLevel(reqDto.getQuestionLevel());//SimpleFieldAssign//sourceId:1255418_1
            omsQuestion.setQuestionStatus(reqDto.getQuestionStatus());//SimpleFieldAssign//sourceId:1255419_1
            omsQuestion.setRemarks(reqDto.getRemarks());//SimpleFieldAssign//sourceId:1255420_1
            omsQuestion.setIsPrivate(reqDto.getIsPrivate());//SimpleFieldAssign//sourceId:1255421_1
            omsQuestion.setReceiveSubjectId(reqDto.getReceiveSubjectId());//SimpleFieldAssign//sourceId:1263855_1
            omsQuestion.setActualSolveTime(reqDto.getActualSolveTime());//SimpleFieldAssign//sourceId:1255422_1
            omsQuestion.setActualSolveCycle(reqDto.getActualSolveCycle());//SimpleFieldAssign//sourceId:1255423_1
            omsQuestion.setOrderNumber(reqDto.getOrderNumber());//SimpleFieldAssign//sourceId:1255424_1
            omsQuestion.setRelevantPeopleNum(reqDto.getRelevantPeopleNum());//SimpleFieldAssign//sourceId:1255425_1
            omsQuestion.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1255426_1
        }

        /*3-7-02修改问题[7745]   */
        Assert.isNull(omsQuestion.getQuestionId(), "D3修改问题(公共)-3-7-02修改问题-问题ID不能为空", false);
        bOOLEAN = mOmsQuestionService.updateQuestion(omsQuestion)/*vcase invoke 本地 method 方法调用;*/;


        UpdateQuestionComRespDto retData = new UpdateQuestionComRespDto();


        return retData;
    }

    /**
     * D3删除问题[7806]
     * gen by moon at 11/8/2023, 4:19:26 PM
     */
    @Trace(operationName = "D3删除问题")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public DeleteQuestionRespDto deleteQuestion(DeleteQuestionReqDto reqDto) {


        //步骤0: 3-7-02删除问题 - deleteQuestion
        boolean bOOLEAN;
        String string = new String();
        if (reqDto != null) {
            string = reqDto.getQuestionId();
            ;//SimpleFieldAssign//sourceId:1258630_1
        }

        /*3-7-02删除问题[7804]   */
        Assert.isNull(string, "D3删除问题-3-7-02删除问题-问题ID不能为空", false);
        bOOLEAN = mOmsQuestionService.deleteQuestion(string)/*vcase invoke 本地 method 方法调用;*/;


        DeleteQuestionRespDto retData = new DeleteQuestionRespDto();


        return retData;
    }

    /**
     * D3存档问题[7809]
     * gen by moon at 11/8/2023, 4:19:28 PM
     */
    @Trace(operationName = "D3存档问题")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ArchiveQuestionRespDto archiveQuestion(ArchiveQuestionReqDto reqDto) {


        //步骤0: 3-7-02修改问题 - updateQuestion
        boolean bOOLEAN;
        OmsQuestion omsQuestion = new OmsQuestion();
        if (reqDto != null) {
            omsQuestion.setQuestionId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1263863_1
            omsQuestion.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1263864_1
            omsQuestion.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1263865_1
        }

        /*3-7-02修改问题[7745]   */
        Assert.isNull(omsQuestion.getQuestionId(), "D3存档问题-3-7-02修改问题-问题ID不能为空", false);
        Assert.isNull(omsQuestion.getSubjectLifeCycle(), "D3存档问题-3-7-02修改问题-主体生命周期不能为空", false);
        Assert.isNull(omsQuestion.getIsArchive(), "D3存档问题-3-7-02修改问题-是否存档不能为空", false);
        bOOLEAN = mOmsQuestionService.updateQuestion(omsQuestion)/*vcase invoke 本地 method 方法调用;*/;


        ArchiveQuestionRespDto retData = new ArchiveQuestionRespDto();


        return retData;
    }

    /**
     * D3-更新问题超时相关(公共)[7833]
     * gen by moon at 1/21/2024, 6:31:15 PM
     */
    @Trace(operationName = "D3-更新问题超时相关(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public RefreshProblemOverdueRelateComRespDto refreshProblemOverdueRelateCom(RefreshProblemOverdueRelateComReqDto reqDto) {


        OmsQuestion omsQuestion_1 = null;
        ImplementAcceptFieldUseWorkTaskRespDto receptionServiceRes_17 = null;
//virtualUsage M3约定系统当前时间  54879
        //ModelCode: receptionService
        ImplementAcceptFieldRespDto receptionServiceRes = null;
        ImplementAcceptFieldReqDto receptionServiceReq = new ImplementAcceptFieldReqDto();
        receptionServiceReq.setOperateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:1362270_1_54879

        /*M3约定系统当前时间[6100]  用于特殊方法接收上游入参。 */
        Assert.isNull(receptionServiceReq.getOperateTime(), "D3-更新问题超时相关(公共)-M3约定系统当前时间-操作时间不能为空", false);
        receptionServiceRes = nbQuestion.implementAcceptField(receptionServiceReq);


//virtualUsage M3约定发送消息业务场景  58139
        //ModelCode: receptionService
        ImplementAcceptFieldUseWorkTaskRespDto receptionServiceRes_2 = null;
        ImplementAcceptFieldUseWorkTaskReqDto receptionServiceReq_1 = new ImplementAcceptFieldUseWorkTaskReqDto();
        receptionServiceReq_1.setCustomField1("CREATE_PROBLEM");//CUSTOM_CONVENTION//sourceId:1459454_1_58139
        receptionServiceReq_1.setCustomField2("SOLVE_PROBLEM_QTA_TO_OTHER");//CUSTOM_CONVENTION//sourceId:1459455_1_58139
        receptionServiceReq_1.setCustomField3("OTHER_STATUS_PROBLEM_TO_SOLVE");//CUSTOM_CONVENTION//sourceId:1459459_1_58139
        receptionServiceReq_1.setCustomField4("AUTO_ANA_PROBLEM_OVERTIME");//CUSTOM_CONVENTION//sourceId:1459460_1_58139
        receptionServiceReq_1.setCustomField5("OTHER_STATUS_PROBLEM_TO_OVERTIME");//CUSTOM_CONVENTION//sourceId:1468199_1_58139
        receptionServiceReq_1.setCustomField6("OVERTIME_PROBLEM_QTA_TO_OTHER");//CUSTOM_CONVENTION//sourceId:1493909_1_58139

        /*M3约定发送消息业务场景[8165]  用于特殊方法接收上游入参。 */
        Assert.isNull(receptionServiceReq_1.getCustomField1(), "D3-更新问题超时相关(公共)-M3约定发送消息业务场景-自定义字段1不能为空", false);
        Assert.isNull(receptionServiceReq_1.getCustomField2(), "D3-更新问题超时相关(公共)-M3约定发送消息业务场景-自定义字段2不能为空", false);
        Assert.isNull(receptionServiceReq_1.getCustomField3(), "D3-更新问题超时相关(公共)-M3约定发送消息业务场景-自定义字段3不能为空", false);
        Assert.isNull(receptionServiceReq_1.getCustomField4(), "D3-更新问题超时相关(公共)-M3约定发送消息业务场景-自定义字段4不能为空", false);
        Assert.isNull(receptionServiceReq_1.getCustomField5(), "D3-更新问题超时相关(公共)-M3约定发送消息业务场景-自定义字段5不能为空", false);
        Assert.isNull(receptionServiceReq_1.getCustomField6(), "D3-更新问题超时相关(公共)-M3约定发送消息业务场景-自定义字段6不能为空", false);
        receptionServiceRes_2 = nbQuestion.implementAcceptFieldUseWorkTask(receptionServiceReq_1);


//virtualUsage M3约定发消息及实时更新消息数据量  58140
        //ModelCode: receptionService
        ImplementAcceptFieldUseWorkTaskRespDto receptionServiceRes_4 = null;
        ImplementAcceptFieldUseWorkTaskReqDto receptionServiceReq_2 = new ImplementAcceptFieldUseWorkTaskReqDto();
        receptionServiceReq_2.setCustomField1("SEND_MSG");//CUSTOM_CONVENTION//sourceId:1459992_1_58140
        receptionServiceReq_2.setCustomField2("UPDATE_LOC");//CUSTOM_CONVENTION//sourceId:1459993_1_58140
        receptionServiceReq_2.setCustomField3("UPDATE_LOC_AND_SEND_MSG");//CUSTOM_CONVENTION//sourceId:1459994_1_58140

        /*M3约定发消息及实时更新消息数据量[8165]  用于特殊方法接收上游入参。 */
        Assert.isNull(receptionServiceReq_2.getCustomField1(), "D3-更新问题超时相关(公共)-M3约定发消息及实时更新消息数据量-自定义字段1不能为空", false);
        Assert.isNull(receptionServiceReq_2.getCustomField2(), "D3-更新问题超时相关(公共)-M3约定发消息及实时更新消息数据量-自定义字段2不能为空", false);
        Assert.isNull(receptionServiceReq_2.getCustomField3(), "D3-更新问题超时相关(公共)-M3约定发消息及实时更新消息数据量-自定义字段3不能为空", false);
        receptionServiceRes_4 = nbQuestion.implementAcceptFieldUseWorkTask(receptionServiceReq_2);


//virtualUsage M3约定发消息技术模型及当前身份人员ID  58194
        //ModelCode: receptionService
        ImplementAcceptFieldUseWorkTaskRespDto receptionServiceRes_6 = null;
        ImplementAcceptFieldUseWorkTaskReqDto receptionServiceReq_3 = new ImplementAcceptFieldUseWorkTaskReqDto();
        receptionServiceReq_3.setOriginalRoleMemberId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecUserId());//CURRENT_USERID//sourceId:1461406_1_58194
        receptionServiceReq_3.setCustomField1("LABOUR_SEND_PRINCIPAL");//CUSTOM_CONVENTION//sourceId:1461403_1_58194
        receptionServiceReq_3.setCustomField2("LABOUR_SEND_PRINCIPAL_CREATOR");//CUSTOM_CONVENTION//sourceId:1461404_1_58194
        receptionServiceReq_3.setCustomField3("AUTO_ANALYZE_SEND_PRINCIPAL_CREATOR");//CUSTOM_CONVENTION//sourceId:1461410_1_58194

        /*M3约定发消息技术模型及当前身份人员ID[8165]  用于特殊方法接收上游入参。 */
        Assert.isNull(receptionServiceReq_3.getCustomField1(), "D3-更新问题超时相关(公共)-M3约定发消息技术模型及当前身份人员ID-自定义字段1不能为空", false);
        Assert.isNull(receptionServiceReq_3.getCustomField2(), "D3-更新问题超时相关(公共)-M3约定发消息技术模型及当前身份人员ID-自定义字段2不能为空", false);
        Assert.isNull(receptionServiceReq_3.getCustomField3(), "D3-更新问题超时相关(公共)-M3约定发消息技术模型及当前身份人员ID-自定义字段3不能为空", false);
        receptionServiceRes_6 = nbQuestion.implementAcceptFieldUseWorkTask(receptionServiceReq_3);


//virtualUsage M3约定消息模板标识  58213
        //ModelCode: receptionService
        ImplementAcceptFieldUseWorkTaskRespDto receptionServiceRes_8 = null;
        ImplementAcceptFieldUseWorkTaskReqDto receptionServiceReq_4 = new ImplementAcceptFieldUseWorkTaskReqDto();
        receptionServiceReq_4.setCustomField1("GENERATE_PROBLEM_MSG_TEMP");//CUSTOM_CONVENTION//sourceId:1461840_1_58213
        receptionServiceReq_4.setCustomField2("PROBLEM_OVERTIME_MSG_TEMP");//CUSTOM_CONVENTION//sourceId:1461841_1_58213
        receptionServiceReq_4.setCustomField3("SOLVE_PROBLEM_QTA_TO_OTHER_MSG_TEMP");//CUSTOM_CONVENTION//sourceId:1461842_1_58213
        receptionServiceReq_4.setCustomField4("OTHER_STATUS_PROBLEM_TO_SOLVE_MSG_TEMP");//CUSTOM_CONVENTION//sourceId:1461843_1_58213
        receptionServiceReq_4.setCustomField5("OTHER_STATUS_PROBLEM_TO_OVERTIME_MSG_TEMP");//CUSTOM_CONVENTION//sourceId:1468203_1_58213

        /*M3约定消息模板标识[8165]  用于特殊方法接收上游入参。 */
        Assert.isNull(receptionServiceReq_4.getCustomField1(), "D3-更新问题超时相关(公共)-M3约定消息模板标识-自定义字段1不能为空", false);
        Assert.isNull(receptionServiceReq_4.getCustomField2(), "D3-更新问题超时相关(公共)-M3约定消息模板标识-自定义字段2不能为空", false);
        Assert.isNull(receptionServiceReq_4.getCustomField3(), "D3-更新问题超时相关(公共)-M3约定消息模板标识-自定义字段3不能为空", false);
        Assert.isNull(receptionServiceReq_4.getCustomField4(), "D3-更新问题超时相关(公共)-M3约定消息模板标识-自定义字段4不能为空", false);
        Assert.isNull(receptionServiceReq_4.getCustomField5(), "D3-更新问题超时相关(公共)-M3约定消息模板标识-自定义字段5不能为空", false);
        receptionServiceRes_8 = nbQuestion.implementAcceptFieldUseWorkTask(receptionServiceReq_4);


//virtualUsage M3约定问题消息标题语义引擎标识  58214
        //ModelCode: receptionService
        ImplementAcceptFieldUseWorkTaskRespDto receptionServiceRes_10 = null;
        ImplementAcceptFieldUseWorkTaskReqDto receptionServiceReq_5 = new ImplementAcceptFieldUseWorkTaskReqDto();
        receptionServiceReq_5.setCustomField1("GENERATE_PROBLEM_MSG_TITLE");//CUSTOM_CONVENTION//sourceId:1461852_1_58214
        receptionServiceReq_5.setCustomField2("SOLVE_PROBLEM_QTA_TO_OTHER_MSG_TITLE");//CUSTOM_CONVENTION//sourceId:1461853_1_58214
        receptionServiceReq_5.setCustomField3("OTHER_STATUS_PROBLEM_TO_SOLVE_MSG_TITLE");//CUSTOM_CONVENTION//sourceId:1461854_1_58214
        receptionServiceReq_5.setCustomField4("PROBLEM_OVERTIME_MSG_TITLE");//CUSTOM_CONVENTION//sourceId:1461855_1_58214
        receptionServiceReq_5.setCustomField5("OTHER_STATUS_PROBLEM_TO_OVERTIME_MSG_TITLE");//CUSTOM_CONVENTION//sourceId:1468201_1_58214

        /*M3约定问题消息标题语义引擎标识[8165]  用于特殊方法接收上游入参。 */
        Assert.isNull(receptionServiceReq_5.getCustomField1(), "D3-更新问题超时相关(公共)-M3约定问题消息标题语义引擎标识-自定义字段1不能为空", false);
        Assert.isNull(receptionServiceReq_5.getCustomField2(), "D3-更新问题超时相关(公共)-M3约定问题消息标题语义引擎标识-自定义字段2不能为空", false);
        Assert.isNull(receptionServiceReq_5.getCustomField3(), "D3-更新问题超时相关(公共)-M3约定问题消息标题语义引擎标识-自定义字段3不能为空", false);
        Assert.isNull(receptionServiceReq_5.getCustomField4(), "D3-更新问题超时相关(公共)-M3约定问题消息标题语义引擎标识-自定义字段4不能为空", false);
        Assert.isNull(receptionServiceReq_5.getCustomField5(), "D3-更新问题超时相关(公共)-M3约定问题消息标题语义引擎标识-自定义字段5不能为空", false);
        receptionServiceRes_10 = nbQuestion.implementAcceptFieldUseWorkTask(receptionServiceReq_5);


//virtualUsage M3约定处理类型及未处理  58198
        //ModelCode: receptionService
        ImplementAcceptFieldUseWorkTaskRespDto receptionServiceRes_12 = null;
        ImplementAcceptFieldUseWorkTaskReqDto receptionServiceReq_6 = new ImplementAcceptFieldUseWorkTaskReqDto();
        receptionServiceReq_6.setIsHandle("FALSE");//sourceId:1461552_1_58198
        receptionServiceReq_6.setHandleType("NO_NEED_HANDLING");//sourceId:1461556_1_58198

        /*M3约定处理类型及未处理[8165]  用于特殊方法接收上游入参。 */
        Assert.isNull(receptionServiceReq_6.getIsHandle(), "D3-更新问题超时相关(公共)-M3约定处理类型及未处理-是否已处理不能为空", false);
        Assert.isNull(receptionServiceReq_6.getHandleType(), "D3-更新问题超时相关(公共)-M3约定处理类型及未处理-处理类型不能为空", false);
        receptionServiceRes_12 = nbQuestion.implementAcceptFieldUseWorkTask(receptionServiceReq_6);


//virtualUsage M3约定消息提醒层级  58201
        //ModelCode: receptionService
        ImplementAcceptFieldUseWorkTaskRespDto receptionServiceRes_14 = null;
        ImplementAcceptFieldUseWorkTaskReqDto receptionServiceReq_7 = new ImplementAcceptFieldUseWorkTaskReqDto();
        receptionServiceReq_7.setComNumField1(Long.valueOf(1));//CUSTOM_CONVENTION//sourceId:1461652_1_58201
        receptionServiceReq_7.setComNumField2(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:1461653_1_58201

        /*M3约定消息提醒层级[8165]  用于特殊方法接收上游入参。 */
        Assert.isNull(receptionServiceReq_7.getComNumField1(), "D3-更新问题超时相关(公共)-M3约定消息提醒层级-通用数值字段1（整数型）不能为空", false);
        Assert.isNull(receptionServiceReq_7.getComNumField2(), "D3-更新问题超时相关(公共)-M3约定消息提醒层级-通用数值字段2（整数型）不能为空", false);
        receptionServiceRes_14 = nbQuestion.implementAcceptFieldUseWorkTask(receptionServiceReq_7);


//virtualUsage 3-7-02-查询问题详情  58112
        OmsQuestion omsQuestion = null;
        QueryQuestionDetailReq queryQuestionDetailReq = new QueryQuestionDetailReq();
        if (reqDto != null) {
            queryQuestionDetailReq.setQuestionId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1459309_1_58112
            queryQuestionDetailReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1459310_1_58112
        }

        /*3-7-02-查询问题详情[7783]   */
        Assert.isNull(queryQuestionDetailReq.getQuestionId(), "D3-更新问题超时相关(公共)-3-7-02-查询问题详情-问题ID不能为空", false);
        Assert.isNull(queryQuestionDetailReq.getSpaceId(), "D3-更新问题超时相关(公共)-3-7-02-查询问题详情-创建于空间ID不能为空", false);
        omsQuestion = mOmsQuestionService.queryQuestionDetail(queryQuestionDetailReq)/*vcase invoke 本地 method 方法调用;*/;


        omsQuestion_1 = omsQuestion;
        if ((omsQuestion != null && omsQuestion.getQuestionStatus() != null && omsQuestion.getQuestionStatus().equals("QUESTIONABILITY"))) {
            //if(3-7-02-查询问题详情.问题状态 等于 待解决)  58113

            if ((reqDto != null && reqDto.getStatusBizOptType() != null && reqDto.getStatusBizOptType().equals("INITIATE_QUESTION_QUESTIONABILITY"))) {
                //if(D3-更新问题超时相关(公共).状态业务操作类型 等于 发起问题待解决)  58117

//ModelCode: receptionService
                ImplementAcceptFieldUseWorkTaskRespDto receptionServiceRes_16 = null;
                ImplementAcceptFieldUseWorkTaskReqDto receptionServiceReq_8 = new ImplementAcceptFieldUseWorkTaskReqDto();
                if (receptionServiceRes_2 != null) {
                    receptionServiceReq_8.setSendMsgScene(receptionServiceRes_2.getCustomField1());//SimpleFieldAssign//sourceId:1460653_1_58138
                }
                if (receptionServiceRes_6 != null) {
                    receptionServiceReq_8.setSendMsgTechnologyMode(receptionServiceRes_6.getCustomField1());//SimpleFieldAssign//sourceId:1460656_1_58138
                    receptionServiceReq_8.setOriginalRoleMemberId(receptionServiceRes_6.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1460661_1_58138
                }
                if (receptionServiceRes_4 != null) {
                    receptionServiceReq_8.setSendMsgAndUpdateMsgCount(receptionServiceRes_4.getCustomField3());//SimpleFieldAssign//sourceId:1460654_1_58138
                }
                if (receptionServiceRes_8 != null) {
                    receptionServiceReq_8.setMessageTemplateCode(receptionServiceRes_8.getCustomField1());//SimpleFieldAssign//sourceId:1460657_1_58138
                }
                if (receptionServiceRes_10 != null) {
                    receptionServiceReq_8.setMsgTitleTemplateSemanticEngineCode(receptionServiceRes_10.getCustomField1());//SimpleFieldAssign//sourceId:1460658_1_58138
                }
                if (receptionServiceRes_12 != null) {
                    receptionServiceReq_8.setHandleType(receptionServiceRes_12.getHandleType());//SimpleFieldAssign//sourceId:1460660_1_58138
                }
                if (reqDto != null) {
                    receptionServiceReq_8.setMessageImportantLevel(reqDto.getMessageImportantLevel());//SimpleFieldAssign//sourceId:1460655_1_58138
                }

                /*M3接收发送消息业务场景出参[8165]  用于特殊方法接收上游入参。 */

                receptionServiceRes_16 = nbQuestion.implementAcceptFieldUseWorkTask(receptionServiceReq_8);


                receptionServiceRes_17 = receptionServiceRes_16;
            } else if ((reqDto != null && reqDto.getQuestionStatus() != null && reqDto.getQuestionStatus().equals("SHELVE") && reqDto != null && reqDto.getStatusBizOptType() != null && reqDto.getStatusBizOptType().equals("SOLVE_PROBLEM_QTA_TO_OTHER"))) {
                //elseif((D3-更新问题超时相关(公共).问题状态 等于 暂搁置 and D3-更新问题超时相关(公共).状态业务操作类型 等于 待解决或已超时问题转其他状态))  58118

                boolean bOOLEAN;
                OmsQuestion omsQuestion_2 = new OmsQuestion();
                if (reqDto != null) {
                    omsQuestion_2.setQuestionId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1459488_1_58141
                    omsQuestion_2.setQuestionStatus(reqDto.getQuestionStatus());//SimpleFieldAssign//sourceId:1459489_1_58141
                    omsQuestion_2.setRemarks(reqDto.getRemarks());//SimpleFieldAssign//sourceId:1464604_1_58141
                }

                /*3-7-02修改问题状态为“暂搁置”[7745]   */
                Assert.isNull(omsQuestion_2.getQuestionId(), "D3-更新问题超时相关(公共)-3-7-02修改问题状态为“暂搁置”-问题ID不能为空", false);
                bOOLEAN = mOmsQuestionService.updateQuestion(omsQuestion_2)/*vcase invoke 本地 method 方法调用;*/;


//ModelCode: receptionService
                ImplementAcceptFieldUseWorkTaskRespDto receptionServiceRes_18 = null;
                ImplementAcceptFieldUseWorkTaskReqDto receptionServiceReq_9 = new ImplementAcceptFieldUseWorkTaskReqDto();
                if (receptionServiceRes_2 != null) {
                    receptionServiceReq_9.setSendMsgScene(receptionServiceRes_2.getCustomField2());//SimpleFieldAssign//sourceId:1460653_1_58142
                }
                if (receptionServiceRes_6 != null) {
                    receptionServiceReq_9.setSendMsgTechnologyMode(receptionServiceRes_6.getCustomField2());//SimpleFieldAssign//sourceId:1460656_1_58142
                    receptionServiceReq_9.setOriginalRoleMemberId(receptionServiceRes_6.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1460661_1_58142
                }
                if (receptionServiceRes_4 != null) {
                    receptionServiceReq_9.setSendMsgAndUpdateMsgCount(receptionServiceRes_4.getCustomField3());//SimpleFieldAssign//sourceId:1460654_1_58142
                }
                if (receptionServiceRes_8 != null) {
                    receptionServiceReq_9.setMessageTemplateCode(receptionServiceRes_8.getCustomField3());//SimpleFieldAssign//sourceId:1460657_1_58142
                }
                if (receptionServiceRes_10 != null) {
                    receptionServiceReq_9.setMsgTitleTemplateSemanticEngineCode(receptionServiceRes_10.getCustomField2());//SimpleFieldAssign//sourceId:1460658_1_58142
                }
                if (receptionServiceRes_12 != null) {
                    receptionServiceReq_9.setHandleType(receptionServiceRes_12.getHandleType());//SimpleFieldAssign//sourceId:1460660_1_58142
                }
                if (receptionServiceRes_14 != null) {
                    receptionServiceReq_9.setMessageImportantLevel(receptionServiceRes_14.getComNumField2());//SimpleFieldAssign//sourceId:1460655_1_58142
                }

                /*M3接收发送消息业务场景出参[8165]  用于特殊方法接收上游入参。 */

                receptionServiceRes_18 = nbQuestion.implementAcceptFieldUseWorkTask(receptionServiceReq_9);


                receptionServiceRes_17 = receptionServiceRes_18;
            } else if ((reqDto != null && reqDto.getQuestionStatus() != null && reqDto.getQuestionStatus().equals("REJECTED") && reqDto != null && reqDto.getStatusBizOptType() != null && reqDto.getStatusBizOptType().equals("SOLVE_PROBLEM_QTA_TO_OTHER"))) {
                //elseif((D3-更新问题超时相关(公共).问题状态 等于 已拒绝 and D3-更新问题超时相关(公共).状态业务操作类型 等于 待解决或已超时问题转其他状态))  58119

                boolean bOOLEAN_1;
                OmsQuestion omsQuestion_3 = new OmsQuestion();
                if (reqDto != null) {
                    omsQuestion_3.setQuestionId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1461004_1_58171
                    omsQuestion_3.setQuestionStatus(reqDto.getQuestionStatus());//SimpleFieldAssign//sourceId:1461005_1_58171
                    omsQuestion_3.setRemarks(reqDto.getRemarks());//SimpleFieldAssign//sourceId:1464605_1_58171
                }

                /*3-7-02修改问题状态为“已拒绝”[7745]   */
                Assert.isNull(omsQuestion_3.getQuestionId(), "D3-更新问题超时相关(公共)-3-7-02修改问题状态为“已拒绝”-问题ID不能为空", false);
                bOOLEAN_1 = mOmsQuestionService.updateQuestion(omsQuestion_3)/*vcase invoke 本地 method 方法调用;*/;


//ModelCode: receptionService
                ImplementAcceptFieldUseWorkTaskRespDto receptionServiceRes_19 = null;
                ImplementAcceptFieldUseWorkTaskReqDto receptionServiceReq_10 = new ImplementAcceptFieldUseWorkTaskReqDto();
                if (receptionServiceRes_2 != null) {
                    receptionServiceReq_10.setSendMsgScene(receptionServiceRes_2.getCustomField2());//SimpleFieldAssign//sourceId:1460653_1_58145
                }
                if (receptionServiceRes_6 != null) {
                    receptionServiceReq_10.setSendMsgTechnologyMode(receptionServiceRes_6.getCustomField2());//SimpleFieldAssign//sourceId:1460656_1_58145
                    receptionServiceReq_10.setOriginalRoleMemberId(receptionServiceRes_6.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1460661_1_58145
                }
                if (receptionServiceRes_4 != null) {
                    receptionServiceReq_10.setSendMsgAndUpdateMsgCount(receptionServiceRes_4.getCustomField3());//SimpleFieldAssign//sourceId:1460654_1_58145
                }
                if (receptionServiceRes_8 != null) {
                    receptionServiceReq_10.setMessageTemplateCode(receptionServiceRes_8.getCustomField3());//SimpleFieldAssign//sourceId:1460657_1_58145
                }
                if (receptionServiceRes_10 != null) {
                    receptionServiceReq_10.setMsgTitleTemplateSemanticEngineCode(receptionServiceRes_10.getCustomField2());//SimpleFieldAssign//sourceId:1460658_1_58145
                }
                if (receptionServiceRes_12 != null) {
                    receptionServiceReq_10.setHandleType(receptionServiceRes_12.getHandleType());//SimpleFieldAssign//sourceId:1460660_1_58145
                }
                if (receptionServiceRes_14 != null) {
                    receptionServiceReq_10.setMessageImportantLevel(receptionServiceRes_14.getComNumField2());//SimpleFieldAssign//sourceId:1460655_1_58145
                }

                /*M3接收发送消息业务场景出参[8165]  用于特殊方法接收上游入参。 */

                receptionServiceRes_19 = nbQuestion.implementAcceptFieldUseWorkTask(receptionServiceReq_10);


                receptionServiceRes_17 = receptionServiceRes_19;
            } else if ((reqDto != null && reqDto.getQuestionStatus() != null && reqDto.getQuestionStatus().equals("SUSPENDED") && reqDto != null && reqDto.getStatusBizOptType() != null && reqDto.getStatusBizOptType().equals("SOLVE_PROBLEM_QTA_TO_OTHER"))) {
                //elseif((D3-更新问题超时相关(公共).问题状态 等于 已挂起 and D3-更新问题超时相关(公共).状态业务操作类型 等于 待解决或已超时问题转其他状态))  58120

                boolean bOOLEAN_2;
                OmsQuestion omsQuestion_4 = new OmsQuestion();
                if (reqDto != null) {
                    omsQuestion_4.setQuestionId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1461002_1_58148
                    omsQuestion_4.setQuestionStatus(reqDto.getQuestionStatus());//SimpleFieldAssign//sourceId:1461003_1_58148
                    omsQuestion_4.setRemarks(reqDto.getRemarks());//SimpleFieldAssign//sourceId:1464606_1_58148
                }

                /*3-7-02修改问题状态为“已挂起”[7745]   */
                Assert.isNull(omsQuestion_4.getQuestionId(), "D3-更新问题超时相关(公共)-3-7-02修改问题状态为“已挂起”-问题ID不能为空", false);
                Assert.isNull(omsQuestion_4.getQuestionStatus(), "D3-更新问题超时相关(公共)-3-7-02修改问题状态为“已挂起”-问题状态不能为空", false);
                bOOLEAN_2 = mOmsQuestionService.updateQuestion(omsQuestion_4)/*vcase invoke 本地 method 方法调用;*/;


//ModelCode: receptionService
                ImplementAcceptFieldUseWorkTaskRespDto receptionServiceRes_20 = null;
                ImplementAcceptFieldUseWorkTaskReqDto receptionServiceReq_11 = new ImplementAcceptFieldUseWorkTaskReqDto();
                if (receptionServiceRes_2 != null) {
                    receptionServiceReq_11.setSendMsgScene(receptionServiceRes_2.getCustomField2());//SimpleFieldAssign//sourceId:1460653_1_58149
                }
                if (receptionServiceRes_6 != null) {
                    receptionServiceReq_11.setSendMsgTechnologyMode(receptionServiceRes_6.getCustomField2());//SimpleFieldAssign//sourceId:1460656_1_58149
                    receptionServiceReq_11.setOriginalRoleMemberId(receptionServiceRes_6.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1460661_1_58149
                }
                if (receptionServiceRes_4 != null) {
                    receptionServiceReq_11.setSendMsgAndUpdateMsgCount(receptionServiceRes_4.getCustomField3());//SimpleFieldAssign//sourceId:1460654_1_58149
                }
                if (receptionServiceRes_8 != null) {
                    receptionServiceReq_11.setMessageTemplateCode(receptionServiceRes_8.getCustomField3());//SimpleFieldAssign//sourceId:1460657_1_58149
                }
                if (receptionServiceRes_10 != null) {
                    receptionServiceReq_11.setMsgTitleTemplateSemanticEngineCode(receptionServiceRes_10.getCustomField2());//SimpleFieldAssign//sourceId:1460658_1_58149
                }
                if (receptionServiceRes_12 != null) {
                    receptionServiceReq_11.setHandleType(receptionServiceRes_12.getHandleType());//SimpleFieldAssign//sourceId:1460660_1_58149
                }
                if (receptionServiceRes_14 != null) {
                    receptionServiceReq_11.setMessageImportantLevel(receptionServiceRes_14.getComNumField2());//SimpleFieldAssign//sourceId:1460655_1_58149
                }

                /*M3接收发送消息业务场景出参[8165]  用于特殊方法接收上游入参。 */

                receptionServiceRes_20 = nbQuestion.implementAcceptFieldUseWorkTask(receptionServiceReq_11);


                receptionServiceRes_17 = receptionServiceRes_20;
            } else if ((reqDto != null && reqDto.getQuestionStatus() != null && reqDto.getQuestionStatus().equals("CLOSED") && reqDto != null && reqDto.getStatusBizOptType() != null && reqDto.getStatusBizOptType().equals("SOLVE_PROBLEM_QTA_TO_OTHER"))) {
                //elseif((D3-更新问题超时相关(公共).问题状态 等于 已关闭 and D3-更新问题超时相关(公共).状态业务操作类型 等于 待解决问题转其他状态))  58121

                boolean bOOLEAN_3;
                OmsQuestion omsQuestion_5 = new OmsQuestion();
                if (reqDto != null) {
                    omsQuestion_5.setQuestionId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1461006_1_58159
                    omsQuestion_5.setQuestionStatus(reqDto.getQuestionStatus());//SimpleFieldAssign//sourceId:1461007_1_58159
                    omsQuestion_5.setRemarks(reqDto.getRemarks());//SimpleFieldAssign//sourceId:1464607_1_58159
                }

                /*3-7-02修改问题状态为“已关闭”[7745]   */
                Assert.isNull(omsQuestion_5.getQuestionId(), "D3-更新问题超时相关(公共)-3-7-02修改问题状态为“已关闭”-问题ID不能为空", false);
                Assert.isNull(omsQuestion_5.getQuestionStatus(), "D3-更新问题超时相关(公共)-3-7-02修改问题状态为“已关闭”-问题状态不能为空", false);
                bOOLEAN_3 = mOmsQuestionService.updateQuestion(omsQuestion_5)/*vcase invoke 本地 method 方法调用;*/;


//ModelCode: receptionService
                ImplementAcceptFieldUseWorkTaskRespDto receptionServiceRes_21 = null;
                ImplementAcceptFieldUseWorkTaskReqDto receptionServiceReq_12 = new ImplementAcceptFieldUseWorkTaskReqDto();
                if (receptionServiceRes_2 != null) {
                    receptionServiceReq_12.setSendMsgScene(receptionServiceRes_2.getCustomField2());//SimpleFieldAssign//sourceId:1460653_1_58160
                }
                if (receptionServiceRes_6 != null) {
                    receptionServiceReq_12.setSendMsgTechnologyMode(receptionServiceRes_6.getCustomField2());//SimpleFieldAssign//sourceId:1460656_1_58160
                    receptionServiceReq_12.setOriginalRoleMemberId(receptionServiceRes_6.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1460661_1_58160
                }
                if (receptionServiceRes_4 != null) {
                    receptionServiceReq_12.setSendMsgAndUpdateMsgCount(receptionServiceRes_4.getCustomField3());//SimpleFieldAssign//sourceId:1460654_1_58160
                }
                if (receptionServiceRes_8 != null) {
                    receptionServiceReq_12.setMessageTemplateCode(receptionServiceRes_8.getCustomField3());//SimpleFieldAssign//sourceId:1460657_1_58160
                }
                if (receptionServiceRes_10 != null) {
                    receptionServiceReq_12.setMsgTitleTemplateSemanticEngineCode(receptionServiceRes_10.getCustomField2());//SimpleFieldAssign//sourceId:1460658_1_58160
                }
                if (receptionServiceRes_12 != null) {
                    receptionServiceReq_12.setHandleType(receptionServiceRes_12.getHandleType());//SimpleFieldAssign//sourceId:1460660_1_58160
                }
                if (receptionServiceRes_14 != null) {
                    receptionServiceReq_12.setMessageImportantLevel(receptionServiceRes_14.getComNumField2());//SimpleFieldAssign//sourceId:1460655_1_58160
                }

                /*M3接收发送消息业务场景出参[8165]  用于特殊方法接收上游入参。 */

                receptionServiceRes_21 = nbQuestion.implementAcceptFieldUseWorkTask(receptionServiceReq_12);


                receptionServiceRes_17 = receptionServiceRes_21;
            } else if ((reqDto != null && reqDto.getQuestionStatus() != null && reqDto.getQuestionStatus().equals("RESOLVED") && reqDto != null && reqDto.getStatusBizOptType() != null && reqDto.getStatusBizOptType().equals("SOLVE_PROBLEM_QTA_TO_OTHER"))) {
                //elseif((D3-更新问题超时相关(公共).问题状态 等于 已解决 and D3-更新问题超时相关(公共).状态业务操作类型 等于 待解决或已超时问题转其他状态))  58122

                ImplementTaskAndProblemStatusCopywritComRespDto implementTaskAndProblemStatusCopywritComRespDto = null;
                ImplementTaskAndProblemStatusCopywritComReqDto implementTaskAndProblemStatusCopywritComReqDto = new ImplementTaskAndProblemStatusCopywritComReqDto();
                implementTaskAndProblemStatusCopywritComReqDto.setReportAndWorkTaskType("PROBLEM");//sourceId:1468550_1_58620
                if (reqDto != null) {
                    implementTaskAndProblemStatusCopywritComReqDto.setEntityId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1468551_1_58620
                }

                /*D3执行任务问题状态文案(公共)[8029]   */
                Assert.isNull(implementTaskAndProblemStatusCopywritComReqDto.getReportAndWorkTaskType(), "D3-更新问题超时相关(公共)-D3执行任务问题状态文案(公共)-汇报任务及工作任务对象类型不能为空", false);
                Assert.isNull(implementTaskAndProblemStatusCopywritComReqDto.getEntityId(), "D3-更新问题超时相关(公共)-D3执行任务问题状态文案(公共)-内容主键 ID不能为空", false);
                implementTaskAndProblemStatusCopywritComRespDto = workTasksService.implementTaskAndProblemStatusCopywritCom(implementTaskAndProblemStatusCopywritComReqDto)/*vcase invoke isSameApp*/;


                ImplementTwoTimeAddAndSubComRespDto implementTwoTimeAddAndSubComRespDto = null;
                if (omsQuestion != null) {
                    ImplementTwoTimeAddAndSubComReqDto implementTwoTimeAddAndSubComReqDto = new ImplementTwoTimeAddAndSubComReqDto();
                    implementTwoTimeAddAndSubComReqDto.setCalcFormula("SUBTRACTION_OF_TWO_NUM");//sourceId:1362232_1_58191
                    implementTwoTimeAddAndSubComReqDto.setTimeUnitType("DAY");//sourceId:1362231_1_58191
                    implementTwoTimeAddAndSubComReqDto.setDeviationDurationCompRule("ADD_ONE");//sourceId:1362233_1_58191
                    implementTwoTimeAddAndSubComReqDto.setDecimalPointRules(Long.valueOf(0));//CUSTOM_CONVENTION//sourceId:1468497_1_58191
                    implementTwoTimeAddAndSubComReqDto.setDecimalDigitsLastRules("MALING");//sourceId:1468498_1_58191
                    if (receptionServiceRes != null) {
                        implementTwoTimeAddAndSubComReqDto.setCalcStartTime(receptionServiceRes.getOperateTime());//SimpleFieldAssign//sourceId:1362229_1_58191
                    }
                    if (omsQuestion != null) {
                        implementTwoTimeAddAndSubComReqDto.setCalcEndTime(omsQuestion.getCreateTime());//SimpleFieldAssign//sourceId:1362230_1_58191
                    }

                    /*D2-执行两时间之间加减（按天计算，补偿一天）[8036]   */
                    Assert.isNull(implementTwoTimeAddAndSubComReqDto.getCalcFormula(), "D3-更新问题超时相关(公共)-D2-执行两时间之间加减（按天计算，补偿一天）-通用计算公式不能为空", false);
                    Assert.isNull(implementTwoTimeAddAndSubComReqDto.getTimeUnitType(), "D3-更新问题超时相关(公共)-D2-执行两时间之间加减（按天计算，补偿一天）-时间单位类型不能为空", false);
                    Assert.isNull(implementTwoTimeAddAndSubComReqDto.getCalcStartTime(), "D3-更新问题超时相关(公共)-D2-执行两时间之间加减（按天计算，补偿一天）-计算开始时间不能为空", false);
                    Assert.isNull(implementTwoTimeAddAndSubComReqDto.getCalcEndTime(), "D3-更新问题超时相关(公共)-D2-执行两时间之间加减（按天计算，补偿一天）-计算结束时间不能为空", false);
                    Assert.isNull(implementTwoTimeAddAndSubComReqDto.getDeviationDurationCompRule(), "D3-更新问题超时相关(公共)-D2-执行两时间之间加减（按天计算，补偿一天）-偏差时长补偿规则不能为空", false);
                    Assert.isNull(implementTwoTimeAddAndSubComReqDto.getDecimalPointRules(), "D3-更新问题超时相关(公共)-D2-执行两时间之间加减（按天计算，补偿一天）-小数点规则不能为空", false);
                    Assert.isNull(implementTwoTimeAddAndSubComReqDto.getDecimalDigitsLastRules(), "D3-更新问题超时相关(公共)-D2-执行两时间之间加减（按天计算，补偿一天）-小数最后一位规则不能为空", false);
                    implementTwoTimeAddAndSubComRespDto = interfaceModeService.implementTwoTimeAddAndSubCom(implementTwoTimeAddAndSubComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                }
                boolean bOOLEAN_4;
                if (implementTwoTimeAddAndSubComRespDto != null) {
                    OmsQuestion omsQuestion_6 = new OmsQuestion();
                    if (reqDto != null) {
                        omsQuestion_6.setQuestionId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1461008_1_58161
                        omsQuestion_6.setQuestionStatus(reqDto.getQuestionStatus());//SimpleFieldAssign//sourceId:1461009_1_58161
                        omsQuestion_6.setRemarks(reqDto.getRemarks());//SimpleFieldAssign//sourceId:1464608_1_58161
                    }
                    if (receptionServiceRes != null) {
                        omsQuestion_6.setActualSolveTime(receptionServiceRes.getOperateTime());//SimpleFieldAssign//sourceId:1461308_1_58161
                    }
                    if (implementTwoTimeAddAndSubComRespDto != null) {
                        omsQuestion_6.setActualSolveCycle(implementTwoTimeAddAndSubComRespDto.getTimeCalcResult() != null ? implementTwoTimeAddAndSubComRespDto.getTimeCalcResult().longValue() : null);//SimpleFieldAssign//sourceId:1461309_1_58161
                    }

                    /*3-7-02修改问题状态为“已解决”[7745]   */
                    Assert.isNull(omsQuestion_6.getQuestionId(), "D3-更新问题超时相关(公共)-3-7-02修改问题状态为“已解决”-问题ID不能为空", false);
                    Assert.isNull(omsQuestion_6.getQuestionStatus(), "D3-更新问题超时相关(公共)-3-7-02修改问题状态为“已解决”-问题状态不能为空", false);
                    Assert.isNull(omsQuestion_6.getActualSolveTime(), "D3-更新问题超时相关(公共)-3-7-02修改问题状态为“已解决”-实际解决时间不能为空", false);
                    Assert.isNull(omsQuestion_6.getActualSolveCycle(), "D3-更新问题超时相关(公共)-3-7-02修改问题状态为“已解决”-实际解决天数不能为空", false);
                    bOOLEAN_4 = mOmsQuestionService.updateQuestion(omsQuestion_6)/*vcase invoke 本地 method 方法调用;*/;


                }
//ModelCode: receptionService
                ImplementAcceptFieldUseWorkTaskRespDto receptionServiceRes_22 = null;
                ImplementAcceptFieldUseWorkTaskReqDto receptionServiceReq_13 = new ImplementAcceptFieldUseWorkTaskReqDto();
                if (receptionServiceRes_2 != null) {
                    receptionServiceReq_13.setSendMsgScene(receptionServiceRes_2.getCustomField2());//SimpleFieldAssign//sourceId:1460653_1_58162
                }
                if (receptionServiceRes_6 != null) {
                    receptionServiceReq_13.setSendMsgTechnologyMode(receptionServiceRes_6.getCustomField2());//SimpleFieldAssign//sourceId:1460656_1_58162
                    receptionServiceReq_13.setOriginalRoleMemberId(receptionServiceRes_6.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1460661_1_58162
                }
                if (receptionServiceRes_4 != null) {
                    receptionServiceReq_13.setSendMsgAndUpdateMsgCount(receptionServiceRes_4.getCustomField3());//SimpleFieldAssign//sourceId:1460654_1_58162
                }
                if (receptionServiceRes_8 != null) {
                    receptionServiceReq_13.setMessageTemplateCode(receptionServiceRes_8.getCustomField3());//SimpleFieldAssign//sourceId:1460657_1_58162
                }
                if (receptionServiceRes_10 != null) {
                    receptionServiceReq_13.setMsgTitleTemplateSemanticEngineCode(receptionServiceRes_10.getCustomField2());//SimpleFieldAssign//sourceId:1460658_1_58162
                }
                if (receptionServiceRes_12 != null) {
                    receptionServiceReq_13.setHandleType(receptionServiceRes_12.getHandleType());//SimpleFieldAssign//sourceId:1460660_1_58162
                }
                if (receptionServiceRes_14 != null) {
                    receptionServiceReq_13.setMessageImportantLevel(receptionServiceRes_14.getComNumField2());//SimpleFieldAssign//sourceId:1460655_1_58162
                }

                /*M3接收发送消息业务场景出参[8165]  用于特殊方法接收上游入参。 */

                receptionServiceRes_22 = nbQuestion.implementAcceptFieldUseWorkTask(receptionServiceReq_13);


                receptionServiceRes_17 = receptionServiceRes_22;
            } else if ((reqDto != null && reqDto.getStatusBizOptType() != null && reqDto.getStatusBizOptType().equals("AUTO_ORDER"))) {
                //elseif(D3-更新问题超时相关(公共).状态业务操作类型 等于 状态自动更新指令)  58123

                QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto = null;
                QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto = new QueryConfItemMatchAnswerDetailComReqDto();
                queryConfItemMatchAnswerDetailComReqDto.setResultAspObjId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1273398_1_58163
                queryConfItemMatchAnswerDetailComReqDto.setConfItemCode("PROBLEM_OVERTIME_DURATION");//CUSTOM_CONVENTION//sourceId:1273399_1_58163
                queryConfItemMatchAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:1273400_1_58163

                /*D2-3查问题超时时长配置答案[2486]   */
                Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjId(), "D3-更新问题超时相关(公共)-D2-3查问题超时时长配置答案-开通对象ID不能为空", false);
                Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getConfItemCode(), "D3-更新问题超时相关(公共)-D2-3查问题超时时长配置答案-配置项标识不能为空", false);
                Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getIsPlatData(), "D3-更新问题超时相关(公共)-D2-3查问题超时时长配置答案-是否标准答案不能为空", false);
                queryConfItemMatchAnswerDetailComRespDto = confSchemeService.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                ImplementTimeAddAndSubComRespDto implementTimeAddAndSubComRespDto = null;
                if (omsQuestion != null && queryConfItemMatchAnswerDetailComRespDto != null) {
                    ImplementTimeAddAndSubComReqDto implementTimeAddAndSubComReqDto = new ImplementTimeAddAndSubComReqDto();
                    implementTimeAddAndSubComReqDto.setCalcFormula("ADDITION_OF_TWO_NUM");//sourceId:1274278_1_58186
                    implementTimeAddAndSubComReqDto.setTimeUnitType("DAY");//sourceId:1274279_1_58186
                    if (omsQuestion != null) {
                        implementTimeAddAndSubComReqDto.setComTimeField(omsQuestion.getCreateTime());//SimpleFieldAssign//sourceId:1274277_1_58186
                    }
                    if (queryConfItemMatchAnswerDetailComRespDto != null) {
                        implementTimeAddAndSubComReqDto.setComNumField(Long.valueOf(queryConfItemMatchAnswerDetailComRespDto.getEndValue()));//SimpleFieldAssign//sourceId:1274280_1_58186
                    }

                    /*D2-执行时间加减固定数值(公共)[7369]   */
                    Assert.isNull(implementTimeAddAndSubComReqDto.getComTimeField(), "D3-更新问题超时相关(公共)-D2-执行时间加减固定数值(公共)-通用时间字段不能为空", false);
                    Assert.isNull(implementTimeAddAndSubComReqDto.getCalcFormula(), "D3-更新问题超时相关(公共)-D2-执行时间加减固定数值(公共)-通用计算公式不能为空", false);
                    Assert.isNull(implementTimeAddAndSubComReqDto.getTimeUnitType(), "D3-更新问题超时相关(公共)-D2-执行时间加减固定数值(公共)-时间单位类型不能为空", false);
                    Assert.isNull(implementTimeAddAndSubComReqDto.getComNumField(), "D3-更新问题超时相关(公共)-D2-执行时间加减固定数值(公共)-通用数值字段（整数型）不能为空", false);
                    implementTimeAddAndSubComRespDto = interfaceModeService.implementTimeAddAndSubCom(implementTimeAddAndSubComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                }
                CheckTimeScopeSearchComRespDto checkTimeScopeSearchComRespDto = null;
                if (implementTimeAddAndSubComRespDto != null) {
                    CheckTimeScopeSearchComReqDto checkTimeScopeSearchComReqDto = new CheckTimeScopeSearchComReqDto();
                    checkTimeScopeSearchComReqDto.setCurrentTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:1274339_1_58187
                    if (implementTimeAddAndSubComRespDto != null) {
                        checkTimeScopeSearchComReqDto.setCompareTime(implementTimeAddAndSubComRespDto.getCalcTimeResult());//SimpleFieldAssign//sourceId:1274341_1_58187
                    }

                    /*D2对比当前时间与问题超时时间（用于判断问题是否已超时）[3297]   */
                    Assert.isNull(checkTimeScopeSearchComReqDto.getCurrentTime(), "D3-更新问题超时相关(公共)-D2对比当前时间与问题超时时间（用于判断问题是否已超时）-当前时间不能为空", false);
                    Assert.isNull(checkTimeScopeSearchComReqDto.getCompareTime(), "D3-更新问题超时相关(公共)-D2对比当前时间与问题超时时间（用于判断问题是否已超时）-比较时间不能为空", false);
                    checkTimeScopeSearchComRespDto = fwCompDivineDataClient.checkTimeScopeSearchCom(checkTimeScopeSearchComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                }
                if ((checkTimeScopeSearchComRespDto != null && checkTimeScopeSearchComRespDto.getTimeCompareResult() != null && checkTimeScopeSearchComRespDto.getTimeCompareResult().equals("LATER") && omsQuestion != null && omsQuestion.getIsOvertime() != null && omsQuestion.getIsOvertime().equals("FALSE"))) {
                    //if((D2对比当前时间与问题超时时间（用于判断问题是否已超时）.时间比较结果 等于 之后（大于） and 3-7-02-查询问题详情.是否超时 等于 否))  58188

                    boolean bOOLEAN_5;
                    OmsQuestion omsQuestion_7 = new OmsQuestion();
                    omsQuestion_7.setQuestionStatus("OVERTIME");//sourceId:1465409_1_58189
                    omsQuestion_7.setIsOvertime("TRUE");//sourceId:1461306_1_58189
                    if (reqDto != null) {
                        omsQuestion_7.setQuestionId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1461305_1_58189
                    }

                    /*3-7-02修改问题为“已超时”[7745]   */
                    Assert.isNull(omsQuestion_7.getQuestionId(), "D3-更新问题超时相关(公共)-3-7-02修改问题为“已超时”-问题ID不能为空", false);
                    Assert.isNull(omsQuestion_7.getQuestionStatus(), "D3-更新问题超时相关(公共)-3-7-02修改问题为“已超时”-问题状态不能为空", false);
                    Assert.isNull(omsQuestion_7.getIsOvertime(), "D3-更新问题超时相关(公共)-3-7-02修改问题为“已超时”-是否超时不能为空", false);
                    bOOLEAN_5 = mOmsQuestionService.updateQuestion(omsQuestion_7)/*vcase invoke 本地 method 方法调用;*/;


//ModelCode: receptionService
                    ImplementAcceptFieldUseWorkTaskRespDto receptionServiceRes_23 = null;
                    ImplementAcceptFieldUseWorkTaskReqDto receptionServiceReq_14 = new ImplementAcceptFieldUseWorkTaskReqDto();
                    if (receptionServiceRes_2 != null) {
                        receptionServiceReq_14.setSendMsgScene(receptionServiceRes_2.getCustomField4());//SimpleFieldAssign//sourceId:1460653_1_58192
                    }
                    if (receptionServiceRes_6 != null) {
                        receptionServiceReq_14.setSendMsgTechnologyMode(receptionServiceRes_6.getCustomField3());//SimpleFieldAssign//sourceId:1460656_1_58192
                    }
                    if (receptionServiceRes_4 != null) {
                        receptionServiceReq_14.setSendMsgAndUpdateMsgCount(receptionServiceRes_4.getCustomField3());//SimpleFieldAssign//sourceId:1460654_1_58192
                    }
                    if (receptionServiceRes_8 != null) {
                        receptionServiceReq_14.setMessageTemplateCode(receptionServiceRes_8.getCustomField2());//SimpleFieldAssign//sourceId:1460657_1_58192
                    }
                    if (receptionServiceRes_10 != null) {
                        receptionServiceReq_14.setMsgTitleTemplateSemanticEngineCode(receptionServiceRes_10.getCustomField4());//SimpleFieldAssign//sourceId:1460658_1_58192
                    }
                    if (receptionServiceRes_12 != null) {
                        receptionServiceReq_14.setHandleType(receptionServiceRes_12.getHandleType());//SimpleFieldAssign//sourceId:1460660_1_58192
                    }
                    if (receptionServiceRes_14 != null) {
                        receptionServiceReq_14.setMessageImportantLevel(receptionServiceRes_14.getComNumField2());//SimpleFieldAssign//sourceId:1460655_1_58192
                    }

                    /*M3接收发送消息业务场景出参[8165]  用于特殊方法接收上游入参。 */

                    receptionServiceRes_23 = nbQuestion.implementAcceptFieldUseWorkTask(receptionServiceReq_14);


                    receptionServiceRes_17 = receptionServiceRes_23;
                }
            }
        } else if ((omsQuestion != null && omsQuestion.getQuestionStatus() != null && omsQuestion.getQuestionStatus().equals("SHELVE") || omsQuestion != null && omsQuestion.getQuestionStatus() != null && omsQuestion.getQuestionStatus().equals("REJECTED") || omsQuestion != null && omsQuestion.getQuestionStatus() != null && omsQuestion.getQuestionStatus().equals("SUSPENDED"))) {
            //elseif((3-7-02-查询问题详情.问题状态 等于 暂搁置 or 3-7-02-查询问题详情.问题状态 等于 已拒绝 or 3-7-02-查询问题详情.问题状态 等于 已挂起))  58114

            if ((reqDto != null && reqDto.getStatusBizOptType() != null && reqDto.getStatusBizOptType().equals("OTHER_STATUS_PROBLEM_TO_SOLVE"))) {
                //if(D3-更新问题超时相关(公共).状态业务操作类型 等于 其他状态问题转待解决)  58125

                boolean bOOLEAN_6;
                OmsQuestion omsQuestion_8 = new OmsQuestion();
                omsQuestion_8.setQuestionStatus("QUESTIONABILITY");//sourceId:1461018_1_58164
                if (reqDto != null) {
                    omsQuestion_8.setQuestionId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1461017_1_58164
                    omsQuestion_8.setRemarks(reqDto.getRemarks());//SimpleFieldAssign//sourceId:1464609_1_58164
                }

                /*3-7-02修改问题状态为“待解决”[7745]   */
                Assert.isNull(omsQuestion_8.getQuestionId(), "D3-更新问题超时相关(公共)-3-7-02修改问题状态为“待解决”-问题ID不能为空", false);
                Assert.isNull(omsQuestion_8.getQuestionStatus(), "D3-更新问题超时相关(公共)-3-7-02修改问题状态为“待解决”-问题状态不能为空", false);
                bOOLEAN_6 = mOmsQuestionService.updateQuestion(omsQuestion_8)/*vcase invoke 本地 method 方法调用;*/;


//ModelCode: receptionService
                ImplementAcceptFieldUseWorkTaskRespDto receptionServiceRes_24 = null;
                ImplementAcceptFieldUseWorkTaskReqDto receptionServiceReq_15 = new ImplementAcceptFieldUseWorkTaskReqDto();
                if (receptionServiceRes_2 != null) {
                    receptionServiceReq_15.setSendMsgScene(receptionServiceRes_2.getCustomField3());//SimpleFieldAssign//sourceId:1460653_1_58165
                }
                if (receptionServiceRes_6 != null) {
                    receptionServiceReq_15.setSendMsgTechnologyMode(receptionServiceRes_6.getCustomField2());//SimpleFieldAssign//sourceId:1460656_1_58165
                    receptionServiceReq_15.setOriginalRoleMemberId(receptionServiceRes_6.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1460661_1_58165
                }
                if (receptionServiceRes_4 != null) {
                    receptionServiceReq_15.setSendMsgAndUpdateMsgCount(receptionServiceRes_4.getCustomField3());//SimpleFieldAssign//sourceId:1460654_1_58165
                }
                if (receptionServiceRes_8 != null) {
                    receptionServiceReq_15.setMessageTemplateCode(receptionServiceRes_8.getCustomField4());//SimpleFieldAssign//sourceId:1460657_1_58165
                }
                if (receptionServiceRes_10 != null) {
                    receptionServiceReq_15.setMsgTitleTemplateSemanticEngineCode(receptionServiceRes_10.getCustomField3());//SimpleFieldAssign//sourceId:1460658_1_58165
                }
                if (receptionServiceRes_12 != null) {
                    receptionServiceReq_15.setHandleType(receptionServiceRes_12.getHandleType());//SimpleFieldAssign//sourceId:1460660_1_58165
                }
                if (receptionServiceRes_14 != null) {
                    receptionServiceReq_15.setMessageImportantLevel(receptionServiceRes_14.getComNumField2());//SimpleFieldAssign//sourceId:1460655_1_58165
                }

                /*M3接收发送消息业务场景出参[8165]  用于特殊方法接收上游入参。 */

                receptionServiceRes_24 = nbQuestion.implementAcceptFieldUseWorkTask(receptionServiceReq_15);


                receptionServiceRes_17 = receptionServiceRes_24;
            } else if ((reqDto != null && reqDto.getStatusBizOptType() != null && reqDto.getStatusBizOptType().equals("AUTO_ORDER"))) {
                //elseif(D3-更新问题超时相关(公共).状态业务操作类型 等于 状态自动更新指令)  58578

                QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_2 = null;
                QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_1 = new QueryConfItemMatchAnswerDetailComReqDto();
                queryConfItemMatchAnswerDetailComReqDto_1.setResultAspObjId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1273398_1_59938
                queryConfItemMatchAnswerDetailComReqDto_1.setConfItemCode("PROBLEM_OVERTIME_DURATION");//CUSTOM_CONVENTION//sourceId:1273399_1_59938
                queryConfItemMatchAnswerDetailComReqDto_1.setIsPlatData("FALSE");//sourceId:1273400_1_59938

                /*D2-3查问题超时时长配置答案[2486]   */
                Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getResultAspObjId(), "D3-更新问题超时相关(公共)-D2-3查问题超时时长配置答案-开通对象ID不能为空", false);
                Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getConfItemCode(), "D3-更新问题超时相关(公共)-D2-3查问题超时时长配置答案-配置项标识不能为空", false);
                Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getIsPlatData(), "D3-更新问题超时相关(公共)-D2-3查问题超时时长配置答案-是否标准答案不能为空", false);
                queryConfItemMatchAnswerDetailComRespDto_2 = confSchemeService.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


                ImplementTimeAddAndSubComRespDto implementTimeAddAndSubComRespDto_2 = null;
                if (omsQuestion != null && queryConfItemMatchAnswerDetailComRespDto_2 != null) {
                    ImplementTimeAddAndSubComReqDto implementTimeAddAndSubComReqDto_1 = new ImplementTimeAddAndSubComReqDto();
                    implementTimeAddAndSubComReqDto_1.setCalcFormula("ADDITION_OF_TWO_NUM");//sourceId:1274278_1_59939
                    implementTimeAddAndSubComReqDto_1.setTimeUnitType("DAY");//sourceId:1274279_1_59939
                    if (omsQuestion != null) {
                        implementTimeAddAndSubComReqDto_1.setComTimeField(omsQuestion.getCreateTime());//SimpleFieldAssign//sourceId:1274277_1_59939
                    }
                    if (queryConfItemMatchAnswerDetailComRespDto_2 != null) {
                        implementTimeAddAndSubComReqDto_1.setComNumField(Long.valueOf(queryConfItemMatchAnswerDetailComRespDto_2.getEndValue()));//SimpleFieldAssign//sourceId:1274280_1_59939
                    }

                    /*D2-执行时间加减固定数值(公共)[7369]   */
                    Assert.isNull(implementTimeAddAndSubComReqDto_1.getComTimeField(), "D3-更新问题超时相关(公共)-D2-执行时间加减固定数值(公共)-通用时间字段不能为空", false);
                    Assert.isNull(implementTimeAddAndSubComReqDto_1.getCalcFormula(), "D3-更新问题超时相关(公共)-D2-执行时间加减固定数值(公共)-通用计算公式不能为空", false);
                    Assert.isNull(implementTimeAddAndSubComReqDto_1.getTimeUnitType(), "D3-更新问题超时相关(公共)-D2-执行时间加减固定数值(公共)-时间单位类型不能为空", false);
                    Assert.isNull(implementTimeAddAndSubComReqDto_1.getComNumField(), "D3-更新问题超时相关(公共)-D2-执行时间加减固定数值(公共)-通用数值字段（整数型）不能为空", false);
                    implementTimeAddAndSubComRespDto_2 = interfaceModeService.implementTimeAddAndSubCom(implementTimeAddAndSubComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


                }
                CheckTimeScopeSearchComRespDto checkTimeScopeSearchComRespDto_2 = null;
                if (implementTimeAddAndSubComRespDto_2 != null) {
                    CheckTimeScopeSearchComReqDto checkTimeScopeSearchComReqDto_1 = new CheckTimeScopeSearchComReqDto();
                    checkTimeScopeSearchComReqDto_1.setCurrentTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:1274339_1_59940
                    if (implementTimeAddAndSubComRespDto_2 != null) {
                        checkTimeScopeSearchComReqDto_1.setCompareTime(implementTimeAddAndSubComRespDto_2.getCalcTimeResult());//SimpleFieldAssign//sourceId:1274341_1_59940
                    }

                    /*D2对比当前时间与问题超时时间（用于判断问题是否已超时）[3297]   */
                    Assert.isNull(checkTimeScopeSearchComReqDto_1.getCurrentTime(), "D3-更新问题超时相关(公共)-D2对比当前时间与问题超时时间（用于判断问题是否已超时）-当前时间不能为空", false);
                    Assert.isNull(checkTimeScopeSearchComReqDto_1.getCompareTime(), "D3-更新问题超时相关(公共)-D2对比当前时间与问题超时时间（用于判断问题是否已超时）-比较时间不能为空", false);
                    checkTimeScopeSearchComRespDto_2 = fwCompDivineDataClient.checkTimeScopeSearchCom(checkTimeScopeSearchComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


                }
                if ((checkTimeScopeSearchComRespDto_2 != null && checkTimeScopeSearchComRespDto_2.getTimeCompareResult() != null && checkTimeScopeSearchComRespDto_2.getTimeCompareResult().equals("LATER") && omsQuestion != null && omsQuestion.getIsOvertime() != null && omsQuestion.getIsOvertime().equals("FALSE"))) {
                    //if((D2对比当前时间与问题超时时间（用于判断问题是否已超时）.时间比较结果 等于 之后（大于） and 3-7-02-查询问题详情.是否超时 等于 否))  59941

                    boolean bOOLEAN_7;
                    OmsQuestion omsQuestion_9 = new OmsQuestion();
                    omsQuestion_9.setQuestionStatus("OVERTIME");//sourceId:1465409_1_59942
                    omsQuestion_9.setIsOvertime("TRUE");//sourceId:1461306_1_59942
                    if (reqDto != null) {
                        omsQuestion_9.setQuestionId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1461305_1_59942
                    }

                    /*3-7-02修改问题为“已超时”[7745]   */
                    Assert.isNull(omsQuestion_9.getQuestionId(), "D3-更新问题超时相关(公共)-3-7-02修改问题为“已超时”-问题ID不能为空", false);
                    Assert.isNull(omsQuestion_9.getQuestionStatus(), "D3-更新问题超时相关(公共)-3-7-02修改问题为“已超时”-问题状态不能为空", false);
                    Assert.isNull(omsQuestion_9.getIsOvertime(), "D3-更新问题超时相关(公共)-3-7-02修改问题为“已超时”-是否超时不能为空", false);
                    bOOLEAN_7 = mOmsQuestionService.updateQuestion(omsQuestion_9)/*vcase invoke 本地 method 方法调用;*/;


//ModelCode: receptionService
                    ImplementAcceptFieldUseWorkTaskRespDto receptionServiceRes_25 = null;
                    ImplementAcceptFieldUseWorkTaskReqDto receptionServiceReq_16 = new ImplementAcceptFieldUseWorkTaskReqDto();
                    if (receptionServiceRes_2 != null) {
                        receptionServiceReq_16.setSendMsgScene(receptionServiceRes_2.getCustomField5());//SimpleFieldAssign//sourceId:1460653_1_59943
                    }
                    if (receptionServiceRes_6 != null) {
                        receptionServiceReq_16.setSendMsgTechnologyMode(receptionServiceRes_6.getCustomField2());//SimpleFieldAssign//sourceId:1460656_1_59943
                        receptionServiceReq_16.setOriginalRoleMemberId(receptionServiceRes_6.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1460661_1_59943
                    }
                    if (receptionServiceRes_4 != null) {
                        receptionServiceReq_16.setSendMsgAndUpdateMsgCount(receptionServiceRes_4.getCustomField3());//SimpleFieldAssign//sourceId:1460654_1_59943
                    }
                    if (receptionServiceRes_8 != null) {
                        receptionServiceReq_16.setMessageTemplateCode(receptionServiceRes_8.getCustomField5());//SimpleFieldAssign//sourceId:1460657_1_59943
                    }
                    if (receptionServiceRes_10 != null) {
                        receptionServiceReq_16.setMsgTitleTemplateSemanticEngineCode(receptionServiceRes_10.getCustomField5());//SimpleFieldAssign//sourceId:1460658_1_59943
                    }
                    if (receptionServiceRes_12 != null) {
                        receptionServiceReq_16.setHandleType(receptionServiceRes_12.getHandleType());//SimpleFieldAssign//sourceId:1460660_1_59943
                    }
                    if (receptionServiceRes_14 != null) {
                        receptionServiceReq_16.setMessageImportantLevel(receptionServiceRes_14.getComNumField2());//SimpleFieldAssign//sourceId:1460655_1_59943
                    }

                    /*M3接收发送消息业务场景出参[8165]  用于特殊方法接收上游入参。 */

                    receptionServiceRes_25 = nbQuestion.implementAcceptFieldUseWorkTask(receptionServiceReq_16);


                    receptionServiceRes_17 = receptionServiceRes_25;
                }
            }
        } else if ((omsQuestion != null && omsQuestion.getQuestionStatus() != null && omsQuestion.getQuestionStatus().equals("OVERTIME"))) {
            //elseif(3-7-02-查询问题详情.问题状态 等于 已超时)  58115

            if ((reqDto != null && reqDto.getQuestionStatus() != null && reqDto.getQuestionStatus().equals("SHELVE") && reqDto != null && reqDto.getStatusBizOptType() != null && reqDto.getStatusBizOptType().equals("SOLVE_PROBLEM_QTA_TO_OTHER"))) {
                //if((D3-更新问题超时相关(公共).问题状态 等于 暂搁置 and D3-更新问题超时相关(公共).状态业务操作类型 等于 待解决或已超时问题转其他状态))  58128

                boolean bOOLEAN_8;
                OmsQuestion omsQuestion_10 = new OmsQuestion();
                if (reqDto != null) {
                    omsQuestion_10.setQuestionId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1459488_1_58168
                    omsQuestion_10.setQuestionStatus(reqDto.getQuestionStatus());//SimpleFieldAssign//sourceId:1459489_1_58168
                    omsQuestion_10.setRemarks(reqDto.getRemarks());//SimpleFieldAssign//sourceId:1464604_1_58168
                }

                /*3-7-02修改问题状态为“暂搁置”[7745]   */
                Assert.isNull(omsQuestion_10.getQuestionId(), "D3-更新问题超时相关(公共)-3-7-02修改问题状态为“暂搁置”-问题ID不能为空", false);
                bOOLEAN_8 = mOmsQuestionService.updateQuestion(omsQuestion_10)/*vcase invoke 本地 method 方法调用;*/;


//ModelCode: receptionService
                ImplementAcceptFieldUseWorkTaskRespDto receptionServiceRes_26 = null;
                ImplementAcceptFieldUseWorkTaskReqDto receptionServiceReq_17 = new ImplementAcceptFieldUseWorkTaskReqDto();
                if (receptionServiceRes_2 != null) {
                    receptionServiceReq_17.setSendMsgScene(receptionServiceRes_2.getCustomField6());//SimpleFieldAssign//sourceId:1460653_1_58169
                }
                if (receptionServiceRes_6 != null) {
                    receptionServiceReq_17.setSendMsgTechnologyMode(receptionServiceRes_6.getCustomField2());//SimpleFieldAssign//sourceId:1460656_1_58169
                    receptionServiceReq_17.setOriginalRoleMemberId(receptionServiceRes_6.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1460661_1_58169
                }
                if (receptionServiceRes_4 != null) {
                    receptionServiceReq_17.setSendMsgAndUpdateMsgCount(receptionServiceRes_4.getCustomField3());//SimpleFieldAssign//sourceId:1460654_1_58169
                }
                if (receptionServiceRes_8 != null) {
                    receptionServiceReq_17.setMessageTemplateCode(receptionServiceRes_8.getCustomField2());//SimpleFieldAssign//sourceId:1460657_1_58169
                }
                if (receptionServiceRes_10 != null) {
                    receptionServiceReq_17.setMsgTitleTemplateSemanticEngineCode(receptionServiceRes_10.getCustomField2());//SimpleFieldAssign//sourceId:1460658_1_58169
                }
                if (receptionServiceRes_12 != null) {
                    receptionServiceReq_17.setHandleType(receptionServiceRes_12.getHandleType());//SimpleFieldAssign//sourceId:1460660_1_58169
                }
                if (receptionServiceRes_14 != null) {
                    receptionServiceReq_17.setMessageImportantLevel(receptionServiceRes_14.getComNumField2());//SimpleFieldAssign//sourceId:1460655_1_58169
                }

                /*M3接收发送消息业务场景出参[8165]  用于特殊方法接收上游入参。 */

                receptionServiceRes_26 = nbQuestion.implementAcceptFieldUseWorkTask(receptionServiceReq_17);


                receptionServiceRes_17 = receptionServiceRes_26;
            } else if ((reqDto != null && reqDto.getQuestionStatus() != null && reqDto.getQuestionStatus().equals("REJECTED") && reqDto != null && reqDto.getStatusBizOptType() != null && reqDto.getStatusBizOptType().equals("SOLVE_PROBLEM_QTA_TO_OTHER"))) {
                //elseif((D3-更新问题超时相关(公共).问题状态 等于 已拒绝 and D3-更新问题超时相关(公共).状态业务操作类型 等于 待解决或已超时问题转其他状态))  58129

                boolean bOOLEAN_9;
                OmsQuestion omsQuestion_11 = new OmsQuestion();
                if (reqDto != null) {
                    omsQuestion_11.setQuestionId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1461004_1_58172
                    omsQuestion_11.setQuestionStatus(reqDto.getQuestionStatus());//SimpleFieldAssign//sourceId:1461005_1_58172
                    omsQuestion_11.setRemarks(reqDto.getRemarks());//SimpleFieldAssign//sourceId:1464605_1_58172
                }

                /*3-7-02修改问题状态为“已拒绝”[7745]   */
                Assert.isNull(omsQuestion_11.getQuestionId(), "D3-更新问题超时相关(公共)-3-7-02修改问题状态为“已拒绝”-问题ID不能为空", false);
                bOOLEAN_9 = mOmsQuestionService.updateQuestion(omsQuestion_11)/*vcase invoke 本地 method 方法调用;*/;


//ModelCode: receptionService
                ImplementAcceptFieldUseWorkTaskRespDto receptionServiceRes_27 = null;
                ImplementAcceptFieldUseWorkTaskReqDto receptionServiceReq_18 = new ImplementAcceptFieldUseWorkTaskReqDto();
                if (receptionServiceRes_2 != null) {
                    receptionServiceReq_18.setSendMsgScene(receptionServiceRes_2.getCustomField6());//SimpleFieldAssign//sourceId:1460653_1_58173
                }
                if (receptionServiceRes_6 != null) {
                    receptionServiceReq_18.setSendMsgTechnologyMode(receptionServiceRes_6.getCustomField2());//SimpleFieldAssign//sourceId:1460656_1_58173
                    receptionServiceReq_18.setOriginalRoleMemberId(receptionServiceRes_6.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1460661_1_58173
                }
                if (receptionServiceRes_4 != null) {
                    receptionServiceReq_18.setSendMsgAndUpdateMsgCount(receptionServiceRes_4.getCustomField3());//SimpleFieldAssign//sourceId:1460654_1_58173
                }
                if (receptionServiceRes_8 != null) {
                    receptionServiceReq_18.setMessageTemplateCode(receptionServiceRes_8.getCustomField2());//SimpleFieldAssign//sourceId:1460657_1_58173
                }
                if (receptionServiceRes_10 != null) {
                    receptionServiceReq_18.setMsgTitleTemplateSemanticEngineCode(receptionServiceRes_10.getCustomField2());//SimpleFieldAssign//sourceId:1460658_1_58173
                }
                if (receptionServiceRes_12 != null) {
                    receptionServiceReq_18.setHandleType(receptionServiceRes_12.getHandleType());//SimpleFieldAssign//sourceId:1460660_1_58173
                }
                if (receptionServiceRes_14 != null) {
                    receptionServiceReq_18.setMessageImportantLevel(receptionServiceRes_14.getComNumField2());//SimpleFieldAssign//sourceId:1460655_1_58173
                }

                /*M3接收发送消息业务场景出参[8165]  用于特殊方法接收上游入参。 */

                receptionServiceRes_27 = nbQuestion.implementAcceptFieldUseWorkTask(receptionServiceReq_18);


                receptionServiceRes_17 = receptionServiceRes_27;
            } else if ((reqDto != null && reqDto.getQuestionStatus() != null && reqDto.getQuestionStatus().equals("SUSPENDED") && reqDto != null && reqDto.getStatusBizOptType() != null && reqDto.getStatusBizOptType().equals("SOLVE_PROBLEM_QTA_TO_OTHER"))) {
                //elseif((D3-更新问题超时相关(公共).问题状态 等于 已挂起 and D3-更新问题超时相关(公共).状态业务操作类型 等于 待解决或已超时问题转其他状态))  58130

                boolean bOOLEAN_10;
                OmsQuestion omsQuestion_12 = new OmsQuestion();
                if (reqDto != null) {
                    omsQuestion_12.setQuestionId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1461002_1_58174
                    omsQuestion_12.setQuestionStatus(reqDto.getQuestionStatus());//SimpleFieldAssign//sourceId:1461003_1_58174
                    omsQuestion_12.setQuestionStatus(reqDto.getQuestionStatus());//SimpleFieldAssign//sourceId:1461003_1_58174
                    omsQuestion_12.setRemarks(reqDto.getRemarks());//SimpleFieldAssign//sourceId:1464606_1_58174
                }

                /*3-7-02修改问题状态为“已挂起”[7745]   */
                Assert.isNull(omsQuestion_12.getQuestionId(), "D3-更新问题超时相关(公共)-3-7-02修改问题状态为“已挂起”-问题ID不能为空", false);
                Assert.isNull(omsQuestion_12.getQuestionStatus(), "D3-更新问题超时相关(公共)-3-7-02修改问题状态为“已挂起”-问题状态不能为空", false);
                Assert.isNull(omsQuestion_12.getQuestionStatus(), "D3-更新问题超时相关(公共)-3-7-02修改问题状态为“已挂起”-问题状态不能为空", false);
                bOOLEAN_10 = mOmsQuestionService.updateQuestion(omsQuestion_12)/*vcase invoke 本地 method 方法调用;*/;


//ModelCode: receptionService
                ImplementAcceptFieldUseWorkTaskRespDto receptionServiceRes_28 = null;
                ImplementAcceptFieldUseWorkTaskReqDto receptionServiceReq_19 = new ImplementAcceptFieldUseWorkTaskReqDto();
                if (receptionServiceRes_2 != null) {
                    receptionServiceReq_19.setSendMsgScene(receptionServiceRes_2.getCustomField6());//SimpleFieldAssign//sourceId:1460653_1_58175
                }
                if (receptionServiceRes_6 != null) {
                    receptionServiceReq_19.setSendMsgTechnologyMode(receptionServiceRes_6.getCustomField2());//SimpleFieldAssign//sourceId:1460656_1_58175
                    receptionServiceReq_19.setOriginalRoleMemberId(receptionServiceRes_6.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1460661_1_58175
                }
                if (receptionServiceRes_4 != null) {
                    receptionServiceReq_19.setSendMsgAndUpdateMsgCount(receptionServiceRes_4.getCustomField3());//SimpleFieldAssign//sourceId:1460654_1_58175
                }
                if (receptionServiceRes_8 != null) {
                    receptionServiceReq_19.setMessageTemplateCode(receptionServiceRes_8.getCustomField2());//SimpleFieldAssign//sourceId:1460657_1_58175
                }
                if (receptionServiceRes_10 != null) {
                    receptionServiceReq_19.setMsgTitleTemplateSemanticEngineCode(receptionServiceRes_10.getCustomField2());//SimpleFieldAssign//sourceId:1460658_1_58175
                }
                if (receptionServiceRes_12 != null) {
                    receptionServiceReq_19.setHandleType(receptionServiceRes_12.getHandleType());//SimpleFieldAssign//sourceId:1460660_1_58175
                }
                if (receptionServiceRes_14 != null) {
                    receptionServiceReq_19.setMessageImportantLevel(receptionServiceRes_14.getComNumField2());//SimpleFieldAssign//sourceId:1460655_1_58175
                }

                /*M3接收发送消息业务场景出参[8165]  用于特殊方法接收上游入参。 */

                receptionServiceRes_28 = nbQuestion.implementAcceptFieldUseWorkTask(receptionServiceReq_19);


                receptionServiceRes_17 = receptionServiceRes_28;
            } else if ((reqDto != null && reqDto.getQuestionStatus() != null && reqDto.getQuestionStatus().equals("CLOSED") && reqDto != null && reqDto.getStatusBizOptType() != null && reqDto.getStatusBizOptType().equals("SOLVE_PROBLEM_QTA_TO_OTHER"))) {
                //elseif((D3-更新问题超时相关(公共).问题状态 等于 已关闭 and D3-更新问题超时相关(公共).状态业务操作类型 等于 待解决或已超时问题转其他状态))  58131

                boolean bOOLEAN_11;
                OmsQuestion omsQuestion_13 = new OmsQuestion();
                if (reqDto != null) {
                    omsQuestion_13.setQuestionId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1461006_1_58176
                    omsQuestion_13.setQuestionStatus(reqDto.getQuestionStatus());//SimpleFieldAssign//sourceId:1461007_1_58176
                    omsQuestion_13.setRemarks(reqDto.getRemarks());//SimpleFieldAssign//sourceId:1464607_1_58176
                }

                /*3-7-02修改问题状态为“已关闭”[7745]   */
                Assert.isNull(omsQuestion_13.getQuestionId(), "D3-更新问题超时相关(公共)-3-7-02修改问题状态为“已关闭”-问题ID不能为空", false);
                Assert.isNull(omsQuestion_13.getQuestionStatus(), "D3-更新问题超时相关(公共)-3-7-02修改问题状态为“已关闭”-问题状态不能为空", false);
                bOOLEAN_11 = mOmsQuestionService.updateQuestion(omsQuestion_13)/*vcase invoke 本地 method 方法调用;*/;


//ModelCode: receptionService
                ImplementAcceptFieldUseWorkTaskRespDto receptionServiceRes_29 = null;
                ImplementAcceptFieldUseWorkTaskReqDto receptionServiceReq_20 = new ImplementAcceptFieldUseWorkTaskReqDto();
                if (receptionServiceRes_2 != null) {
                    receptionServiceReq_20.setSendMsgScene(receptionServiceRes_2.getCustomField6());//SimpleFieldAssign//sourceId:1460653_1_58177
                }
                if (receptionServiceRes_6 != null) {
                    receptionServiceReq_20.setSendMsgTechnologyMode(receptionServiceRes_6.getCustomField2());//SimpleFieldAssign//sourceId:1460656_1_58177
                    receptionServiceReq_20.setOriginalRoleMemberId(receptionServiceRes_6.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1460661_1_58177
                }
                if (receptionServiceRes_4 != null) {
                    receptionServiceReq_20.setSendMsgAndUpdateMsgCount(receptionServiceRes_4.getCustomField3());//SimpleFieldAssign//sourceId:1460654_1_58177
                }
                if (receptionServiceRes_8 != null) {
                    receptionServiceReq_20.setMessageTemplateCode(receptionServiceRes_8.getCustomField2());//SimpleFieldAssign//sourceId:1460657_1_58177
                }
                if (receptionServiceRes_10 != null) {
                    receptionServiceReq_20.setMsgTitleTemplateSemanticEngineCode(receptionServiceRes_10.getCustomField2());//SimpleFieldAssign//sourceId:1460658_1_58177
                }
                if (receptionServiceRes_12 != null) {
                    receptionServiceReq_20.setHandleType(receptionServiceRes_12.getHandleType());//SimpleFieldAssign//sourceId:1460660_1_58177
                }
                if (receptionServiceRes_14 != null) {
                    receptionServiceReq_20.setMessageImportantLevel(receptionServiceRes_14.getComNumField2());//SimpleFieldAssign//sourceId:1460655_1_58177
                }

                /*M3接收发送消息业务场景出参[8165]  用于特殊方法接收上游入参。 */

                receptionServiceRes_29 = nbQuestion.implementAcceptFieldUseWorkTask(receptionServiceReq_20);


                receptionServiceRes_17 = receptionServiceRes_29;
            } else if ((reqDto != null && reqDto.getQuestionStatus() != null && reqDto.getQuestionStatus().equals("RESOLVED") && reqDto != null && reqDto.getStatusBizOptType() != null && reqDto.getStatusBizOptType().equals("SOLVE_PROBLEM_QTA_TO_OTHER"))) {
                //elseif((D3-更新问题超时相关(公共).问题状态 等于 已解决 and D3-更新问题超时相关(公共).状态业务操作类型 等于 待解决或已超时问题转其他状态))  58132

                ImplementTaskAndProblemStatusCopywritComRespDto implementTaskAndProblemStatusCopywritComRespDto_1 = null;
                ImplementTaskAndProblemStatusCopywritComReqDto implementTaskAndProblemStatusCopywritComReqDto_1 = new ImplementTaskAndProblemStatusCopywritComReqDto();
                implementTaskAndProblemStatusCopywritComReqDto_1.setReportAndWorkTaskType("PROBLEM");//sourceId:1468550_1_58621
                if (reqDto != null) {
                    implementTaskAndProblemStatusCopywritComReqDto_1.setEntityId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1468551_1_58621
                }

                /*D3执行任务问题状态文案(公共)[8029]   */
                Assert.isNull(implementTaskAndProblemStatusCopywritComReqDto_1.getReportAndWorkTaskType(), "D3-更新问题超时相关(公共)-D3执行任务问题状态文案(公共)-汇报任务及工作任务对象类型不能为空", false);
                Assert.isNull(implementTaskAndProblemStatusCopywritComReqDto_1.getEntityId(), "D3-更新问题超时相关(公共)-D3执行任务问题状态文案(公共)-内容主键 ID不能为空", false);
                implementTaskAndProblemStatusCopywritComRespDto_1 = workTasksService.implementTaskAndProblemStatusCopywritCom(implementTaskAndProblemStatusCopywritComReqDto_1)/*vcase invoke isSameApp*/;


                ImplementTwoTimeAddAndSubComRespDto implementTwoTimeAddAndSubComRespDto_2 = null;
                if (omsQuestion != null) {
                    ImplementTwoTimeAddAndSubComReqDto implementTwoTimeAddAndSubComReqDto_1 = new ImplementTwoTimeAddAndSubComReqDto();
                    implementTwoTimeAddAndSubComReqDto_1.setCalcFormula("SUBTRACTION_OF_TWO_NUM");//sourceId:1362232_1_58190
                    implementTwoTimeAddAndSubComReqDto_1.setTimeUnitType("DAY");//sourceId:1362231_1_58190
                    implementTwoTimeAddAndSubComReqDto_1.setDeviationDurationCompRule("ADD_ONE");//sourceId:1362233_1_58190
                    implementTwoTimeAddAndSubComReqDto_1.setDecimalPointRules(Long.valueOf(0));//CUSTOM_CONVENTION//sourceId:1468497_1_58190
                    implementTwoTimeAddAndSubComReqDto_1.setDecimalDigitsLastRules("MALING");//sourceId:1468498_1_58190
                    if (receptionServiceRes != null) {
                        implementTwoTimeAddAndSubComReqDto_1.setCalcStartTime(receptionServiceRes.getOperateTime());//SimpleFieldAssign//sourceId:1362229_1_58190
                    }
                    if (omsQuestion != null) {
                        implementTwoTimeAddAndSubComReqDto_1.setCalcEndTime(omsQuestion.getCreateTime());//SimpleFieldAssign//sourceId:1362230_1_58190
                    }

                    /*D2-执行两时间之间加减（按天计算，补偿一天）[8036]   */
                    Assert.isNull(implementTwoTimeAddAndSubComReqDto_1.getCalcFormula(), "D3-更新问题超时相关(公共)-D2-执行两时间之间加减（按天计算，补偿一天）-通用计算公式不能为空", false);
                    Assert.isNull(implementTwoTimeAddAndSubComReqDto_1.getTimeUnitType(), "D3-更新问题超时相关(公共)-D2-执行两时间之间加减（按天计算，补偿一天）-时间单位类型不能为空", false);
                    Assert.isNull(implementTwoTimeAddAndSubComReqDto_1.getCalcStartTime(), "D3-更新问题超时相关(公共)-D2-执行两时间之间加减（按天计算，补偿一天）-计算开始时间不能为空", false);
                    Assert.isNull(implementTwoTimeAddAndSubComReqDto_1.getCalcEndTime(), "D3-更新问题超时相关(公共)-D2-执行两时间之间加减（按天计算，补偿一天）-计算结束时间不能为空", false);
                    Assert.isNull(implementTwoTimeAddAndSubComReqDto_1.getDeviationDurationCompRule(), "D3-更新问题超时相关(公共)-D2-执行两时间之间加减（按天计算，补偿一天）-偏差时长补偿规则不能为空", false);
                    Assert.isNull(implementTwoTimeAddAndSubComReqDto_1.getDecimalPointRules(), "D3-更新问题超时相关(公共)-D2-执行两时间之间加减（按天计算，补偿一天）-小数点规则不能为空", false);
                    Assert.isNull(implementTwoTimeAddAndSubComReqDto_1.getDecimalDigitsLastRules(), "D3-更新问题超时相关(公共)-D2-执行两时间之间加减（按天计算，补偿一天）-小数最后一位规则不能为空", false);
                    implementTwoTimeAddAndSubComRespDto_2 = interfaceModeService.implementTwoTimeAddAndSubCom(implementTwoTimeAddAndSubComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


                }
                boolean bOOLEAN_12;
                if (implementTwoTimeAddAndSubComRespDto_2 != null) {
                    OmsQuestion omsQuestion_14 = new OmsQuestion();
                    if (reqDto != null) {
                        omsQuestion_14.setQuestionId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1461008_1_58178
                        omsQuestion_14.setQuestionStatus(reqDto.getQuestionStatus());//SimpleFieldAssign//sourceId:1461009_1_58178
                        omsQuestion_14.setRemarks(reqDto.getRemarks());//SimpleFieldAssign//sourceId:1464608_1_58178
                    }
                    if (receptionServiceRes != null) {
                        omsQuestion_14.setActualSolveTime(receptionServiceRes.getOperateTime());//SimpleFieldAssign//sourceId:1461308_1_58178
                    }
                    if (implementTwoTimeAddAndSubComRespDto_2 != null) {
                        omsQuestion_14.setActualSolveCycle(implementTwoTimeAddAndSubComRespDto_2.getTimeCalcResult() != null ? implementTwoTimeAddAndSubComRespDto_2.getTimeCalcResult().longValue() : null);//SimpleFieldAssign//sourceId:1461309_1_58178
                    }

                    /*3-7-02修改问题状态为“已解决”[7745]   */
                    Assert.isNull(omsQuestion_14.getQuestionId(), "D3-更新问题超时相关(公共)-3-7-02修改问题状态为“已解决”-问题ID不能为空", false);
                    Assert.isNull(omsQuestion_14.getQuestionStatus(), "D3-更新问题超时相关(公共)-3-7-02修改问题状态为“已解决”-问题状态不能为空", false);
                    Assert.isNull(omsQuestion_14.getActualSolveTime(), "D3-更新问题超时相关(公共)-3-7-02修改问题状态为“已解决”-实际解决时间不能为空", false);
                    Assert.isNull(omsQuestion_14.getActualSolveCycle(), "D3-更新问题超时相关(公共)-3-7-02修改问题状态为“已解决”-实际解决天数不能为空", false);
                    bOOLEAN_12 = mOmsQuestionService.updateQuestion(omsQuestion_14)/*vcase invoke 本地 method 方法调用;*/;


                }
//ModelCode: receptionService
                ImplementAcceptFieldUseWorkTaskRespDto receptionServiceRes_30 = null;
                ImplementAcceptFieldUseWorkTaskReqDto receptionServiceReq_21 = new ImplementAcceptFieldUseWorkTaskReqDto();
                if (receptionServiceRes_2 != null) {
                    receptionServiceReq_21.setSendMsgScene(receptionServiceRes_2.getCustomField6());//SimpleFieldAssign//sourceId:1460653_1_58179
                }
                if (receptionServiceRes_6 != null) {
                    receptionServiceReq_21.setSendMsgTechnologyMode(receptionServiceRes_6.getCustomField2());//SimpleFieldAssign//sourceId:1460656_1_58179
                    receptionServiceReq_21.setOriginalRoleMemberId(receptionServiceRes_6.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1460661_1_58179
                }
                if (receptionServiceRes_4 != null) {
                    receptionServiceReq_21.setSendMsgAndUpdateMsgCount(receptionServiceRes_4.getCustomField3());//SimpleFieldAssign//sourceId:1460654_1_58179
                }
                if (receptionServiceRes_8 != null) {
                    receptionServiceReq_21.setMessageTemplateCode(receptionServiceRes_8.getCustomField2());//SimpleFieldAssign//sourceId:1460657_1_58179
                }
                if (receptionServiceRes_10 != null) {
                    receptionServiceReq_21.setMsgTitleTemplateSemanticEngineCode(receptionServiceRes_10.getCustomField2());//SimpleFieldAssign//sourceId:1460658_1_58179
                }
                if (receptionServiceRes_12 != null) {
                    receptionServiceReq_21.setHandleType(receptionServiceRes_12.getHandleType());//SimpleFieldAssign//sourceId:1460660_1_58179
                }
                if (receptionServiceRes_14 != null) {
                    receptionServiceReq_21.setMessageImportantLevel(receptionServiceRes_14.getComNumField2());//SimpleFieldAssign//sourceId:1460655_1_58179
                }

                /*M3接收发送消息业务场景出参[8165]  用于特殊方法接收上游入参。 */

                receptionServiceRes_30 = nbQuestion.implementAcceptFieldUseWorkTask(receptionServiceReq_21);


                receptionServiceRes_17 = receptionServiceRes_30;
            }
        }
        RefreshProblemOverdueRelateComRespDto retData = new RefreshProblemOverdueRelateComRespDto();
        if (omsQuestion_1 != null) {
            retData.setQuestionId(omsQuestion_1.getQuestionId());//SimpleFieldAssign//sourceId:1462537_1
            retData.setQuestionIntroduce(omsQuestion_1.getQuestionIntroduce());//SimpleFieldAssign//sourceId:1462536_1
        }
        if (receptionServiceRes_17 != null) {
            retData.setSendMsgScene(receptionServiceRes_17.getSendMsgScene());//SimpleFieldAssign//sourceId:1462241_1
            retData.setSendMsgAndUpdateMsgCount(receptionServiceRes_17.getSendMsgAndUpdateMsgCount());//SimpleFieldAssign//sourceId:1462242_1
            retData.setSendMsgTechnologyMode(receptionServiceRes_17.getSendMsgTechnologyMode());//SimpleFieldAssign//sourceId:1462243_1
            retData.setOriginalRoleMemberId(receptionServiceRes_17.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1462244_1
            retData.setMessageTemplateCode(receptionServiceRes_17.getMessageTemplateCode());//SimpleFieldAssign//sourceId:1462245_1
            retData.setMsgTitleTemplateSemanticEngineCode(receptionServiceRes_17.getMsgTitleTemplateSemanticEngineCode());//SimpleFieldAssign//sourceId:1462246_1
            retData.setIsHandle(receptionServiceRes_17.getIsHandle());//SimpleFieldAssign//sourceId:1462247_1
            retData.setHandleType(receptionServiceRes_17.getHandleType());//SimpleFieldAssign//sourceId:1462248_1
            retData.setMessageImportantLevel(receptionServiceRes_17.getMessageImportantLevel());//SimpleFieldAssign//sourceId:1462249_1
        }


        return retData;
    }

    /**
     * D3查询相同的问题列表(公共)[7827]
     * gen by moon at 11/15/2023, 6:28:26 PM
     */
    @Trace(operationName = "D3查询相同的问题列表(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QuerySameQuestionListComRespDto querySameQuestionListCom(QuerySameQuestionListComReqDto reqDto) {


        List<OmsQuestion> listOmsQuestion_1 = new ArrayList<>();
//步骤0: 3-7-02查询问题列表 - queryQuestionList
        List<OmsQuestion> listOmsQuestion = new ArrayList<>();
        QueryQuestionListReq queryQuestionListReq = new QueryQuestionListReq();
        if (reqDto != null) {
            queryQuestionListReq.setQuestionNumber(reqDto.getQuestionNumber());//SimpleFieldAssign//sourceId:1269270_1
            queryQuestionListReq.setQuestionIntroduce(reqDto.getQuestionIntroduce());//SimpleFieldAssign//sourceId:1269271_1
            queryQuestionListReq.setQuestionLevel(reqDto.getQuestionLevel());//SimpleFieldAssign//sourceId:1269272_1
            queryQuestionListReq.setQuestionStatus(reqDto.getQuestionStatus());//SimpleFieldAssign//sourceId:1269273_1
            queryQuestionListReq.setIsPrivate(reqDto.getIsPrivate());//SimpleFieldAssign//sourceId:1269274_1
            queryQuestionListReq.setArrangeSubjectId(reqDto.getArrangeSubjectId());//SimpleFieldAssign//sourceId:1269275_1
            queryQuestionListReq.setReceiveSubjectId(reqDto.getReceiveSubjectId());//SimpleFieldAssign//sourceId:1269276_1
            queryQuestionListReq.setSourceTypeCode(reqDto.getSourceTypeCode());//SimpleFieldAssign//sourceId:1269277_1
            queryQuestionListReq.setCoordObjectId(reqDto.getCoordObjectId());//SimpleFieldAssign//sourceId:1269278_1
            queryQuestionListReq.setBizAppCode(reqDto.getBizAppCode());//SimpleFieldAssign//sourceId:1321923_1
            queryQuestionListReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1269279_1
            queryQuestionListReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1269280_1
            queryQuestionListReq.setCreateInductionId(reqDto.getCreateInductionId());//SimpleFieldAssign//sourceId:1269281_1
            queryQuestionListReq.setCreateTime(reqDto.getCreateTime());//SimpleFieldAssign//sourceId:1269282_1
            queryQuestionListReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1269283_1
        }

        /*3-7-02查询问题列表[7752]   */
        Assert.isNull(queryQuestionListReq.getSpaceId(), "D3查询相同的问题列表(公共)-3-7-02查询问题列表-创建于空间ID不能为空", false);
        listOmsQuestion = mOmsQuestionService.queryQuestionList(queryQuestionListReq)/*vcase invoke 本地 method 方法调用;*/;


        listOmsQuestion_1 = listOmsQuestion;

        QuerySameQuestionListComRespDto retData = new QuerySameQuestionListComRespDto();
        retData.setQuestionList(listOmsQuestion_1.stream().map(item -> BeanUtil.toBean(item, QuestionDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1269298_1


        return retData;
    }

    /**
     * D3新增问题(公共)[7785]
     * gen by moon at 11/27/2023, 11:12:59 PM
     */
    @Trace(operationName = "D3新增问题(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AddQuestionComRespDto addQuestionCom(AddQuestionComReqDto reqDto) {


        String string_1 = null;
//步骤0: 3-7-02新增问题 - addQuestion
        String string = null;
        OmsQuestion omsQuestion = new OmsQuestion();
        if (reqDto != null) {
            omsQuestion.setQuestionNumber(reqDto.getQuestionNumber());//SimpleFieldAssign//sourceId:1258493_1
            omsQuestion.setQuestionIntroduce(reqDto.getQuestionIntroduce());//SimpleFieldAssign//sourceId:1255053_1
            omsQuestion.setQuestionDesc(reqDto.getQuestionDesc());//SimpleFieldAssign//sourceId:1255054_1
            omsQuestion.setQuestionImg(reqDto.getQuestionImg());//SimpleFieldAssign//sourceId:1255055_1
            omsQuestion.setQuestionLevel(reqDto.getQuestionLevel());//SimpleFieldAssign//sourceId:1255056_1
            omsQuestion.setQuestionStatus(reqDto.getQuestionStatus());//SimpleFieldAssign//sourceId:1258472_1
            omsQuestion.setIsPrivate(reqDto.getIsPrivate());//SimpleFieldAssign//sourceId:1255058_1
            omsQuestion.setIsOvertime(reqDto.getIsOvertime());//SimpleFieldAssign//sourceId:1355947_1
            omsQuestion.setOverTimeLength(reqDto.getOverTimeLength());//SimpleFieldAssign//sourceId:1355948_1
            omsQuestion.setArrangeSubjectId(reqDto.getArrangeSubjectId());//SimpleFieldAssign//sourceId:1258473_1
            omsQuestion.setArrangeSubjectTypeCode(reqDto.getArrangeSubjectTypeCode());//SimpleFieldAssign//sourceId:1258474_1
            omsQuestion.setReceiveSubjectId(reqDto.getReceiveSubjectId());//SimpleFieldAssign//sourceId:1258475_1
            omsQuestion.setSourceTypeCode(reqDto.getSourceTypeCode());//SimpleFieldAssign//sourceId:1255059_1
            omsQuestion.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1255060_1
            omsQuestion.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1255061_1
            omsQuestion.setParentTableTypeCode(reqDto.getParentTableTypeCode());//SimpleFieldAssign//sourceId:1255062_1
            omsQuestion.setParentEntityId(reqDto.getParentEntityId());//SimpleFieldAssign//sourceId:1255063_1
            omsQuestion.setThemeContentTypeCode(reqDto.getThemeContentTypeCode());//SimpleFieldAssign//sourceId:1255064_1
            omsQuestion.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1255065_1
            omsQuestion.setCoordObjectTypeCode(reqDto.getCoordObjectTypeCode());//SimpleFieldAssign//sourceId:1255066_1
            omsQuestion.setCoordObjectId(reqDto.getCoordObjectId());//SimpleFieldAssign//sourceId:1255067_1
            omsQuestion.setDockingAppTypeCode(reqDto.getDockingAppTypeCode());//SimpleFieldAssign//sourceId:1255068_1
            omsQuestion.setDockingAppId(reqDto.getDockingAppId());//SimpleFieldAssign//sourceId:1255069_1
            omsQuestion.setBizAppCode(reqDto.getBizAppCode());//SimpleFieldAssign//sourceId:1258476_1
            omsQuestion.setBizSceneCode(reqDto.getBizSceneCode());//SimpleFieldAssign//sourceId:1258477_1
            omsQuestion.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1255072_1
        }

        /*3-7-02新增问题[7744]   */
        Assert.isNull(omsQuestion.getQuestionIntroduce(), "D3新增问题(公共)-3-7-02新增问题-问题文字简介不能为空", false);
        Assert.isNull(omsQuestion.getQuestionLevel(), "D3新增问题(公共)-3-7-02新增问题-问题等级不能为空", false);
        Assert.isNull(omsQuestion.getQuestionStatus(), "D3新增问题(公共)-3-7-02新增问题-问题状态不能为空", false);
        Assert.isNull(omsQuestion.getIsPrivate(), "D3新增问题(公共)-3-7-02新增问题-是否私密不能为空", false);
        Assert.isNull(omsQuestion.getIsOvertime(), "D3新增问题(公共)-3-7-02新增问题-是否超时不能为空", false);
        Assert.isNull(omsQuestion.getArrangeSubjectId(), "D3新增问题(公共)-3-7-02新增问题-安排主体ID不能为空", false);
        Assert.isNull(omsQuestion.getArrangeSubjectTypeCode(), "D3新增问题(公共)-3-7-02新增问题-安排主体类型编码不能为空", false);
        Assert.isNull(omsQuestion.getReceiveSubjectId(), "D3新增问题(公共)-3-7-02新增问题-接收部门ID不能为空", false);
        Assert.isNull(omsQuestion.getBizAppCode(), "D3新增问题(公共)-3-7-02新增问题-业务应用标识不能为空", false);
        Assert.isNull(omsQuestion.getBizSceneCode(), "D3新增问题(公共)-3-7-02新增问题-业务场景编码不能为空", false);
        Assert.isNull(omsQuestion.getSubjectLifeCycle(), "D3新增问题(公共)-3-7-02新增问题-主体生命周期不能为空", false);
        string = mOmsQuestionService.addQuestion(omsQuestion)/*vcase invoke 本地 method 方法调用;*/;


        string_1 = string;

        AddQuestionComRespDto retData = new AddQuestionComRespDto();
        if (string_1 != null) {
            retData.setQuestionId(string_1);//SimpleFieldAssign//sourceId:1255222_1
        }


        return retData;
    }

    /**
     * D3新增问题业务处理(公共)[7854]
     * gen by moon at 7/18/2024, 6:34:23 PM
     */
    @Trace(operationName = "D3新增问题业务处理(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AddQuestionBusinessProcessingComRespDto addQuestionBusinessProcessingCom(AddQuestionBusinessProcessingComReqDto reqDto) {


        AddQuestionComRespDto addQuestionComRespDto_1 = null;
        SetWorkContentResponsibleReportObjectComRespDto setWorkContentResponsibleReportObjectComRespDto_1 = null;
//virtualUsage D3查询相同的问题列表(公共)  52577
        QuerySameQuestionListComRespDto querySameQuestionListComRespDto = null;
        QuerySameQuestionListComReqDto querySameQuestionListComReqDto = new QuerySameQuestionListComReqDto();
        querySameQuestionListComReqDto.setBizAppCode("LIGHT_OA_APP");//CUSTOM_CONVENTION//sourceId:1321931_1_52577
        querySameQuestionListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1276807_1_52577
        if (reqDto != null) {
            querySameQuestionListComReqDto.setQuestionIntroduce(reqDto.getQuestionIntroduce());//SimpleFieldAssign//sourceId:1276806_1_52577
        }

        /*D3查询相同的问题列表(公共)[7827]   */
        Assert.isNull(querySameQuestionListComReqDto.getQuestionIntroduce(), "D3新增问题业务处理(公共)-D3查询相同的问题列表(公共)-问题文字简介不能为空", false);
        Assert.isNull(querySameQuestionListComReqDto.getBizAppCode(), "D3新增问题业务处理(公共)-D3查询相同的问题列表(公共)-业务应用标识不能为空", false);
        Assert.isNull(querySameQuestionListComReqDto.getSpaceId(), "D3新增问题业务处理(公共)-D3查询相同的问题列表(公共)-创建于空间ID不能为空", false);
        querySameQuestionListComRespDto = querySameQuestionListCom(querySameQuestionListComReqDto)/*vcase invoke 同服务,同domain*/;


        if ((querySameQuestionListComRespDto != null && querySameQuestionListComRespDto.getQuestionList() != null && querySameQuestionListComRespDto.getQuestionList().size() > 0)) {
            //if(D3查询相同的问题列表(公共).问题列表数据集条数 大于 0)  52579

//异常结束 52582
            throw new BizException("C00116", "对不起！已存在~！", false);
        } else if (((new ArrayList<>()).size() == 0)) {
            //elseif(D3查询相同的问题列表(公共).问题列表数据集条数 等于 0)  52580

            QueryInductionDeptDetailComRespDto queryInductionDeptDetailComRespDto = null;
            QueryInductionDeptDetailComReqDto queryInductionDeptDetailComReqDto = new QueryInductionDeptDetailComReqDto();
            queryInductionDeptDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1276633_1_52587
            if (reqDto != null) {
                queryInductionDeptDetailComReqDto.setInductionRecordId(reqDto.getPrincipalInductionId());//SimpleFieldAssign//sourceId:1276632_1_52587
            }

            /*D1查负责人所在部门ID[7829]   */
            Assert.isNull(queryInductionDeptDetailComReqDto.getInductionRecordId(), "D3新增问题业务处理(公共)-D1查负责人所在部门ID-就职记录ID不能为空", false);
            Assert.isNull(queryInductionDeptDetailComReqDto.getSpaceId(), "D3新增问题业务处理(公共)-D1查负责人所在部门ID-创建于空间ID不能为空", false);
            queryInductionDeptDetailComRespDto = inductionRecordService.queryInductionDeptDetailCom(queryInductionDeptDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            AddQuestionComRespDto addQuestionComRespDto = null;
            if (queryInductionDeptDetailComRespDto != null) {
                AddQuestionComReqDto addQuestionComReqDto = new AddQuestionComReqDto();
                addQuestionComReqDto.setQuestionStatus("QUESTIONABILITY");//sourceId:1276410_1_52586
                addQuestionComReqDto.setIsPrivate("FALSE");//sourceId:1276395_1_52586
                addQuestionComReqDto.setIsOvertime("FALSE");//sourceId:1355951_1_52586
                addQuestionComReqDto.setOverTimeLength(Double.valueOf("0"));//CUSTOM_CONVENTION//sourceId:1355952_1_52586
                addQuestionComReqDto.setBizAppCode("LIGHT_OA_APP");//CUSTOM_CONVENTION//sourceId:1276414_1_52586
                addQuestionComReqDto.setBizSceneCode("WORK_TASK");//CUSTOM_CONVENTION//sourceId:1276415_1_52586
                if (reqDto != null) {
                    addQuestionComReqDto.setQuestionNumber(reqDto.getQuestionNumber());//SimpleFieldAssign//sourceId:1276409_1_52586
                    addQuestionComReqDto.setQuestionIntroduce(reqDto.getQuestionIntroduce());//SimpleFieldAssign//sourceId:1276391_1_52586
                    addQuestionComReqDto.setQuestionDesc(reqDto.getQuestionDesc());//SimpleFieldAssign//sourceId:1276392_1_52586
                    addQuestionComReqDto.setQuestionLevel(reqDto.getQuestionLevel());//SimpleFieldAssign//sourceId:1276394_1_52586
                    addQuestionComReqDto.setArrangeSubjectId(reqDto.getArrangeSubjectId());//SimpleFieldAssign//sourceId:1276411_1_52586
                    addQuestionComReqDto.setArrangeSubjectTypeCode(reqDto.getArrangeSubjectTypeCode());//SimpleFieldAssign//sourceId:1276412_1_52586
                    addQuestionComReqDto.setSourceTypeCode(reqDto.getSourceTypeCode());//SimpleFieldAssign//sourceId:1276396_1_52586
                    addQuestionComReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1276397_1_52586
                    addQuestionComReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1276398_1_52586
                    addQuestionComReqDto.setParentTableTypeCode(reqDto.getParentTableTypeCode());//SimpleFieldAssign//sourceId:1276399_1_52586
                    addQuestionComReqDto.setParentEntityId(reqDto.getParentEntityId());//SimpleFieldAssign//sourceId:1276400_1_52586
                    addQuestionComReqDto.setThemeContentTypeCode(reqDto.getThemeContentTypeCode());//SimpleFieldAssign//sourceId:1276401_1_52586
                    addQuestionComReqDto.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1276402_1_52586
                    addQuestionComReqDto.setCoordObjectTypeCode(reqDto.getCoordObjectTypeCode());//SimpleFieldAssign//sourceId:1276403_1_52586
                    addQuestionComReqDto.setCoordObjectId(reqDto.getCoordObjectId());//SimpleFieldAssign//sourceId:1276404_1_52586
                    addQuestionComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1276407_1_52586
                }
                if (queryInductionDeptDetailComRespDto != null) {
                    addQuestionComReqDto.setReceiveSubjectId(queryInductionDeptDetailComRespDto.getEntityId());//SimpleFieldAssign//sourceId:1276413_1_52586
                }

                /*D3新增问题(公共)[7785]   */
                Assert.isNull(addQuestionComReqDto.getQuestionIntroduce(), "D3新增问题业务处理(公共)-D3新增问题(公共)-问题文字简介不能为空", false);
                Assert.isNull(addQuestionComReqDto.getQuestionLevel(), "D3新增问题业务处理(公共)-D3新增问题(公共)-问题等级不能为空", false);
                Assert.isNull(addQuestionComReqDto.getQuestionStatus(), "D3新增问题业务处理(公共)-D3新增问题(公共)-问题状态不能为空", false);
                Assert.isNull(addQuestionComReqDto.getIsPrivate(), "D3新增问题业务处理(公共)-D3新增问题(公共)-是否私密不能为空", false);
                Assert.isNull(addQuestionComReqDto.getIsOvertime(), "D3新增问题业务处理(公共)-D3新增问题(公共)-是否超时不能为空", false);
                Assert.isNull(addQuestionComReqDto.getOverTimeLength(), "D3新增问题业务处理(公共)-D3新增问题(公共)-问题已过时长不能为空", false);
                Assert.isNull(addQuestionComReqDto.getArrangeSubjectId(), "D3新增问题业务处理(公共)-D3新增问题(公共)-安排主体ID不能为空", false);
                Assert.isNull(addQuestionComReqDto.getArrangeSubjectTypeCode(), "D3新增问题业务处理(公共)-D3新增问题(公共)-安排主体类型编码不能为空", false);
                Assert.isNull(addQuestionComReqDto.getReceiveSubjectId(), "D3新增问题业务处理(公共)-D3新增问题(公共)-接收部门ID不能为空", false);
                Assert.isNull(addQuestionComReqDto.getBizAppCode(), "D3新增问题业务处理(公共)-D3新增问题(公共)-业务应用标识不能为空", false);
                Assert.isNull(addQuestionComReqDto.getBizSceneCode(), "D3新增问题业务处理(公共)-D3新增问题(公共)-业务场景编码不能为空", false);
                Assert.isNull(addQuestionComReqDto.getSubjectLifeCycle(), "D3新增问题业务处理(公共)-D3新增问题(公共)-主体生命周期不能为空", false);
                addQuestionComRespDto = addQuestionCom(addQuestionComReqDto)/*vcase invoke 同服务,同domain*/;


                addQuestionComRespDto_1 = addQuestionComRespDto;
            }
            SetWorkContentResponsibleReportObjectComRespDto setWorkContentResponsibleReportObjectComRespDto = null;
            if (queryInductionDeptDetailComRespDto != null && addQuestionComRespDto != null) {
                SetWorkContentResponsibleReportObjectComReqDto setWorkContentResponsibleReportObjectComReqDto = new SetWorkContentResponsibleReportObjectComReqDto();
                setWorkContentResponsibleReportObjectComReqDto.setTableTypeCode("OMS_QUESTION");//sourceId:1276432_1_52585
                setWorkContentResponsibleReportObjectComReqDto.setChannelTypeCode("GROUP_SESSION");//sourceId:1436310_1_52585
                setWorkContentResponsibleReportObjectComReqDto.setMessageLocationCode("CONTENT_COMMUNICATION");//CUSTOM_CONVENTION//sourceId:1436311_1_52585
                setWorkContentResponsibleReportObjectComReqDto.setBorcScene("TOB_SCENE");//sourceId:1436312_1_52585
                if (reqDto != null) {
                    setWorkContentResponsibleReportObjectComReqDto.setPrincipalInductionRecordId(reqDto.getPrincipalInductionId());//SimpleFieldAssign//sourceId:1314529_1_52585
                    setWorkContentResponsibleReportObjectComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1276435_1_52585
                }
                if (queryInductionDeptDetailComRespDto != null) {
                    setWorkContentResponsibleReportObjectComReqDto.setPrincipalOriginalRoleMemberId(queryInductionDeptDetailComRespDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1276720_1_52585
                    setWorkContentResponsibleReportObjectComReqDto.setPrincipalUserId(queryInductionDeptDetailComRespDto.getUserId());//SimpleFieldAssign//sourceId:1276721_1_52585
                    setWorkContentResponsibleReportObjectComReqDto.setPrincipalFirstLetter(queryInductionDeptDetailComRespDto.getFirstLetter());//SimpleFieldAssign//sourceId:1276723_1_52585
                    setWorkContentResponsibleReportObjectComReqDto.setEvaluationTemplateId(queryInductionDeptDetailComRespDto.getEntityId());//SimpleFieldAssign//sourceId:1276725_1_52585
                }
                if (addQuestionComRespDto != null) {
                    setWorkContentResponsibleReportObjectComReqDto.setEntityId(addQuestionComRespDto.getQuestionId());//SimpleFieldAssign//sourceId:1276433_1_52585
                }

                /*D3设工作内容负责人与发起人(公共)[7826]   */
                Assert.isNull(setWorkContentResponsibleReportObjectComReqDto.getPrincipalInductionRecordId(), "D3新增问题业务处理(公共)-D3设工作内容负责人与发起人(公共)-负责人就职记录ID不能为空", false);
                Assert.isNull(setWorkContentResponsibleReportObjectComReqDto.getPrincipalOriginalRoleMemberId(), "D3新增问题业务处理(公共)-D3设工作内容负责人与发起人(公共)-负责人身份人员ID不能为空", false);
                Assert.isNull(setWorkContentResponsibleReportObjectComReqDto.getPrincipalUserId(), "D3新增问题业务处理(公共)-D3设工作内容负责人与发起人(公共)-负责人个人账号ID不能为空", false);
                Assert.isNull(setWorkContentResponsibleReportObjectComReqDto.getPrincipalFirstLetter(), "D3新增问题业务处理(公共)-D3设工作内容负责人与发起人(公共)-负责人首字母不能为空", false);
                Assert.isNull(setWorkContentResponsibleReportObjectComReqDto.getTableTypeCode(), "D3新增问题业务处理(公共)-D3设工作内容负责人与发起人(公共)-冗余内容表类型编码不能为空", false);
                Assert.isNull(setWorkContentResponsibleReportObjectComReqDto.getEntityId(), "D3新增问题业务处理(公共)-D3设工作内容负责人与发起人(公共)-冗余内容表主键ID不能为空", false);
                Assert.isNull(setWorkContentResponsibleReportObjectComReqDto.getEvaluationTemplateId(), "D3新增问题业务处理(公共)-D3设工作内容负责人与发起人(公共)-归属对象ID不能为空", false);
                Assert.isNull(setWorkContentResponsibleReportObjectComReqDto.getSubjectLifeCycle(), "D3新增问题业务处理(公共)-D3设工作内容负责人与发起人(公共)-主体生命周期不能为空", false);
                Assert.isNull(setWorkContentResponsibleReportObjectComReqDto.getChannelTypeCode(), "D3新增问题业务处理(公共)-D3设工作内容负责人与发起人(公共)-通道类型编码不能为空", false);
                Assert.isNull(setWorkContentResponsibleReportObjectComReqDto.getMessageLocationCode(), "D3新增问题业务处理(公共)-D3设工作内容负责人与发起人(公共)-消息位置标识不能为空", false);
                Assert.isNull(setWorkContentResponsibleReportObjectComReqDto.getBorcScene(), "D3新增问题业务处理(公共)-D3设工作内容负责人与发起人(公共)-toB或toC场景不能为空", false);
                setWorkContentResponsibleReportObjectComRespDto = virtualOrgService.setWorkContentResponsibleReportObjectCom(setWorkContentResponsibleReportObjectComReqDto)/*vcase invoke isSameApp*/;


                setWorkContentResponsibleReportObjectComRespDto_1 = setWorkContentResponsibleReportObjectComRespDto;
            }
            QueryInductionDeptDetailComRespDto queryInductionDeptDetailComRespDto_2 = null;
            QueryInductionDeptDetailComReqDto queryInductionDeptDetailComReqDto_1 = new QueryInductionDeptDetailComReqDto();
            queryInductionDeptDetailComReqDto_1.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1342092_1_54345
            if (reqDto != null) {
                queryInductionDeptDetailComReqDto_1.setInductionRecordId(reqDto.getCreateInductionId());//SimpleFieldAssign//sourceId:1342091_1_54345
            }

            /*D1查问题发起人的就职信息（用于新增问题发起人使用）[7829]   */
            Assert.isNull(queryInductionDeptDetailComReqDto_1.getInductionRecordId(), "D3新增问题业务处理(公共)-D1查问题发起人的就职信息（用于新增问题发起人使用）-就职记录ID不能为空", false);
            Assert.isNull(queryInductionDeptDetailComReqDto_1.getSpaceId(), "D3新增问题业务处理(公共)-D1查问题发起人的就职信息（用于新增问题发起人使用）-创建于空间ID不能为空", false);
            queryInductionDeptDetailComRespDto_2 = inductionRecordService.queryInductionDeptDetailCom(queryInductionDeptDetailComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


            AddNoBatchNullVirtualOrgMemberComRespDto addNoBatchNullVirtualOrgMemberComRespDto = null;
            if (setWorkContentResponsibleReportObjectComRespDto != null && queryInductionDeptDetailComRespDto_2 != null && addQuestionComRespDto != null) {
                AddNoBatchNullVirtualOrgMemberComReqDto addNoBatchNullVirtualOrgMemberComReqDto = new AddNoBatchNullVirtualOrgMemberComReqDto();
                addNoBatchNullVirtualOrgMemberComReqDto.setRoleCode("CREATOR");//CUSTOM_CONVENTION//sourceId:1342120_1_54349
                addNoBatchNullVirtualOrgMemberComReqDto.setVirtualOrganizationPosition("发起人");//CUSTOM_CONVENTION//sourceId:1342109_1_54349
                addNoBatchNullVirtualOrgMemberComReqDto.setIsAdmin("TRUE");//sourceId:1342110_1_54349
                addNoBatchNullVirtualOrgMemberComReqDto.setIsDirectStakeholders("FALSE");//sourceId:1342111_1_54349
                addNoBatchNullVirtualOrgMemberComReqDto.setIsUpperLowerLevels("FALSE");//sourceId:1342112_1_54349
                addNoBatchNullVirtualOrgMemberComReqDto.setIsDisplay("TRUE");//sourceId:1342113_1_54349
                addNoBatchNullVirtualOrgMemberComReqDto.setTableTypeCode("OMS_QUESTION");//sourceId:1342114_1_54349
                addNoBatchNullVirtualOrgMemberComReqDto.setEvaluationTemplateType("OMS_ORG_DEPT");//sourceId:1342115_1_54349
                addNoBatchNullVirtualOrgMemberComReqDto.setUseScene("WORK_TASK_SCENE");//sourceId:1342123_1_54349
                addNoBatchNullVirtualOrgMemberComReqDto.setOrderNumber(Long.valueOf(2));//CUSTOM_CONVENTION//sourceId:1342117_1_54349
                if (setWorkContentResponsibleReportObjectComRespDto != null) {
                    addNoBatchNullVirtualOrgMemberComReqDto.setVirtualOrgId(setWorkContentResponsibleReportObjectComRespDto.getVirtualOrgId());//SimpleFieldAssign//sourceId:1342105_1_54349
                }
                if (queryInductionDeptDetailComRespDto_2 != null) {
                    addNoBatchNullVirtualOrgMemberComReqDto.setVirtualOrgInductionRecordId(queryInductionDeptDetailComRespDto_2.getInductionRecordId());//SimpleFieldAssign//sourceId:1342119_1_54349
                    addNoBatchNullVirtualOrgMemberComReqDto.setOriginalRoleMemberId(queryInductionDeptDetailComRespDto_2.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1342106_1_54349
                    addNoBatchNullVirtualOrgMemberComReqDto.setUserId(queryInductionDeptDetailComRespDto_2.getUserId());//SimpleFieldAssign//sourceId:1342107_1_54349
                    addNoBatchNullVirtualOrgMemberComReqDto.setFirstLetter(queryInductionDeptDetailComRespDto_2.getFirstLetter());//SimpleFieldAssign//sourceId:1342108_1_54349
                    addNoBatchNullVirtualOrgMemberComReqDto.setEvaluationTemplateId(queryInductionDeptDetailComRespDto_2.getEntityId());//SimpleFieldAssign//sourceId:1342116_1_54349
                }
                if (addQuestionComRespDto != null) {
                    addNoBatchNullVirtualOrgMemberComReqDto.setEntityId(addQuestionComRespDto.getQuestionId());//SimpleFieldAssign//sourceId:1342121_1_54349
                }
                if (reqDto != null) {
                    addNoBatchNullVirtualOrgMemberComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1342118_1_54349
                }

                /*D3新增问题发起人[7831]   */
                Assert.isNull(addNoBatchNullVirtualOrgMemberComReqDto.getVirtualOrgId(), "D3新增问题业务处理(公共)-D3新增问题发起人-虚拟组织ID不能为空", false);
                Assert.isNull(addNoBatchNullVirtualOrgMemberComReqDto.getVirtualOrgInductionRecordId(), "D3新增问题业务处理(公共)-D3新增问题发起人-虚拟组织成员就职记录ID不能为空", false);
                Assert.isNull(addNoBatchNullVirtualOrgMemberComReqDto.getOriginalRoleMemberId(), "D3新增问题业务处理(公共)-D3新增问题发起人-身份人员ID不能为空", false);
                Assert.isNull(addNoBatchNullVirtualOrgMemberComReqDto.getUserId(), "D3新增问题业务处理(公共)-D3新增问题发起人-个人账号不能为空", false);
                Assert.isNull(addNoBatchNullVirtualOrgMemberComReqDto.getFirstLetter(), "D3新增问题业务处理(公共)-D3新增问题发起人-备注首位字母不能为空", false);
                Assert.isNull(addNoBatchNullVirtualOrgMemberComReqDto.getRoleCode(), "D3新增问题业务处理(公共)-D3新增问题发起人-角色标识不能为空", false);
                Assert.isNull(addNoBatchNullVirtualOrgMemberComReqDto.getVirtualOrganizationPosition(), "D3新增问题业务处理(公共)-D3新增问题发起人-组内职务名称不能为空", false);
                Assert.isNull(addNoBatchNullVirtualOrgMemberComReqDto.getIsAdmin(), "D3新增问题业务处理(公共)-D3新增问题发起人-是否管理员不能为空", false);
                Assert.isNull(addNoBatchNullVirtualOrgMemberComReqDto.getIsDirectStakeholders(), "D3新增问题业务处理(公共)-D3新增问题发起人-是否直接干系人不能为空", false);
                Assert.isNull(addNoBatchNullVirtualOrgMemberComReqDto.getIsUpperLowerLevels(), "D3新增问题业务处理(公共)-D3新增问题发起人-是否上下级关系不能为空", false);
                Assert.isNull(addNoBatchNullVirtualOrgMemberComReqDto.getIsDisplay(), "D3新增问题业务处理(公共)-D3新增问题发起人-是否外部展示不能为空", false);
                Assert.isNull(addNoBatchNullVirtualOrgMemberComReqDto.getTableTypeCode(), "D3新增问题业务处理(公共)-D3新增问题发起人-冗余内容表类型编码不能为空", false);
                Assert.isNull(addNoBatchNullVirtualOrgMemberComReqDto.getEntityId(), "D3新增问题业务处理(公共)-D3新增问题发起人-冗余内容表主键ID不能为空", false);
                Assert.isNull(addNoBatchNullVirtualOrgMemberComReqDto.getEvaluationTemplateType(), "D3新增问题业务处理(公共)-D3新增问题发起人-归属对象类型不能为空", false);
                Assert.isNull(addNoBatchNullVirtualOrgMemberComReqDto.getEvaluationTemplateId(), "D3新增问题业务处理(公共)-D3新增问题发起人-归属对象ID不能为空", false);
                Assert.isNull(addNoBatchNullVirtualOrgMemberComReqDto.getUseScene(), "D3新增问题业务处理(公共)-D3新增问题发起人-虚拟组织使用场景不能为空", false);
                Assert.isNull(addNoBatchNullVirtualOrgMemberComReqDto.getOrderNumber(), "D3新增问题业务处理(公共)-D3新增问题发起人-排序不能为空", false);
                Assert.isNull(addNoBatchNullVirtualOrgMemberComReqDto.getSubjectLifeCycle(), "D3新增问题业务处理(公共)-D3新增问题发起人-主体生命周期不能为空", false);
                addNoBatchNullVirtualOrgMemberComRespDto = virtualOrgService.addNoBatchNullVirtualOrgMemberCom(addNoBatchNullVirtualOrgMemberComReqDto)/*vcase invoke isSameApp*/;


            }
            ImplementRefreshWokrContRelevantPeopleNumComRespDto implementRefreshWokrContRelevantPeopleNumComRespDto = null;
            if (addQuestionComRespDto != null) {
                ImplementRefreshWokrContRelevantPeopleNumComReqDto implementRefreshWokrContRelevantPeopleNumComReqDto = new ImplementRefreshWokrContRelevantPeopleNumComReqDto();
                implementRefreshWokrContRelevantPeopleNumComReqDto.setTableTypeCode("OMS_QUESTION");//sourceId:1282328_1_52752
                if (addQuestionComRespDto != null) {
                    implementRefreshWokrContRelevantPeopleNumComReqDto.setEntityId(addQuestionComRespDto.getQuestionId());//SimpleFieldAssign//sourceId:1282329_1_52752
                }

                /*D3更新问题相关人数量(公共)[7867]   */
                Assert.isNull(implementRefreshWokrContRelevantPeopleNumComReqDto.getTableTypeCode(), "D3新增问题业务处理(公共)-D3更新问题相关人数量(公共)-内容表类型编码不能为空", false);
                Assert.isNull(implementRefreshWokrContRelevantPeopleNumComReqDto.getEntityId(), "D3新增问题业务处理(公共)-D3更新问题相关人数量(公共)-内容表主键ID不能为空", false);
                implementRefreshWokrContRelevantPeopleNumComRespDto = workTasksService.implementRefreshWokrContRelevantPeopleNumCom(implementRefreshWokrContRelevantPeopleNumComReqDto)/*vcase invoke isSameApp*/;


            }
            if ((reqDto != null && reqDto.getBusAppDocRelaList() != null && reqDto.getBusAppDocRelaList().size() > 0)) {
                //if(D3新增问题业务处理(公共).业务应用文档关系列表数据集条数 大于 0)  54843

                ImplementSeparateAddOrDeleteDocListComRespDto implementSeparateAddOrDeleteDocListComRespDto = null;
                if (addQuestionComRespDto != null) {
                    ImplementSeparateAddOrDeleteDocListComReqDto implementSeparateAddOrDeleteDocListComReqDto = new ImplementSeparateAddOrDeleteDocListComReqDto();
                    implementSeparateAddOrDeleteDocListComReqDto.setIsCleanPersonalInvalidDocument("TRUE");//sourceId:1934781_1_69767
                    implementSeparateAddOrDeleteDocListComReqDto.setDocUseSceneCode("WORK_TASKS");//sourceId:1857112_1_69767
                    implementSeparateAddOrDeleteDocListComReqDto.setDocUseType("PROBLEM_PIC");//sourceId:1857113_1_69767
                    implementSeparateAddOrDeleteDocListComReqDto.setIsResult("FALSE");//sourceId:1859371_1_69767
                    implementSeparateAddOrDeleteDocListComReqDto.setOwnTableTypeCode("OMS_QUESTION");//sourceId:1857115_1_69767
                    implementSeparateAddOrDeleteDocListComReqDto.setUserId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecUserId());//CURRENT_USERID//sourceId:1857121_1_69767
                    implementSeparateAddOrDeleteDocListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1857110_1_69767
                    if (reqDto != null && reqDto.getBusAppDocRelaList() != null && !CollectionUtil.isEmpty(reqDto.getBusAppDocRelaList())) {
                        implementSeparateAddOrDeleteDocListComReqDto.setDocumentList(reqDto.getBusAppDocRelaList().stream().map(item -> BeanUtil.toBean(item, com.wicket.okrcomponent.integration.dto.DocumentDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1857111_1_69767
                    }
                    if (addQuestionComRespDto != null) {
                        implementSeparateAddOrDeleteDocListComReqDto.setOwnEntityId(addQuestionComRespDto.getQuestionId());//SimpleFieldAssign//sourceId:1857109_1_69767
                    }
                    if (reqDto != null) {
                        implementSeparateAddOrDeleteDocListComReqDto.setOwnParentContentTypeCode(reqDto.getParentTableTypeCode());//SimpleFieldAssign//sourceId:1857116_1_69767
                        implementSeparateAddOrDeleteDocListComReqDto.setOwnParentContentId(reqDto.getParentEntityId());//SimpleFieldAssign//sourceId:1857118_1_69767
                        implementSeparateAddOrDeleteDocListComReqDto.setThemeContentTypeCode(reqDto.getThemeContentTypeCode());//SimpleFieldAssign//sourceId:1857119_1_69767
                        implementSeparateAddOrDeleteDocListComReqDto.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1857120_1_69767
                    }

                    /*D2执行分离新增或删除文档列表(公共)[8783]   */
                    Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getIsCleanPersonalInvalidDocument(), "D3新增问题业务处理(公共)-D2执行分离新增或删除文档列表(公共)-是否清理个人无效文档不能为空", false);
                    Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getDocUseSceneCode(), "D3新增问题业务处理(公共)-D2执行分离新增或删除文档列表(公共)-文档应用业务场景不能为空", false);
                    Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getDocUseType(), "D3新增问题业务处理(公共)-D2执行分离新增或删除文档列表(公共)-文档用途类型不能为空", false);
                    Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getIsResult(), "D3新增问题业务处理(公共)-D2执行分离新增或删除文档列表(公共)-冗余是否结果文档不能为空", false);
                    Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getOwnEntityId(), "D3新增问题业务处理(公共)-D2执行分离新增或删除文档列表(公共)-归属内容表主键ID不能为空", false);
                    Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getOwnTableTypeCode(), "D3新增问题业务处理(公共)-D2执行分离新增或删除文档列表(公共)-归属内容表类型编码不能为空", false);
                    Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getUserId(), "D3新增问题业务处理(公共)-D2执行分离新增或删除文档列表(公共)-归属个人账号不能为空", false);
                    Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getSpaceId(), "D3新增问题业务处理(公共)-D2执行分离新增或删除文档列表(公共)-创建于空间ID不能为空", false);
                    implementSeparateAddOrDeleteDocListComRespDto = unstructuredDataService.implementSeparateAddOrDeleteDocListCom(implementSeparateAddOrDeleteDocListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                }
                ImplementDataAppointFormatShiftTextComRespDto implementDataAppointFormatShiftTextComRespDto = null;
                ImplementDataAppointFormatShiftTextComReqDto implementDataAppointFormatShiftTextComReqDto = new ImplementDataAppointFormatShiftTextComReqDto();
                implementDataAppointFormatShiftTextComReqDto.setCustomField1("；");//CUSTOM_CONVENTION//sourceId:1361991_1_54851
                if (reqDto != null && reqDto.getBusAppDocRelaList() != null && !CollectionUtil.isEmpty(reqDto.getBusAppDocRelaList())) {
                    implementDataAppointFormatShiftTextComReqDto.setDataAppointFormatShiftTextList(reqDto.getBusAppDocRelaList().stream().map(item -> item.getFileRelativePathAccess())
                            .collect(Collectors.toList()));/*list-to-strings*///sourceId:1361990_1_54851
                }

                /*D2执行数据集按指定格式转文本(公共)[7515]   */
                Assert.isNull(implementDataAppointFormatShiftTextComReqDto.getCustomField1(), "D3新增问题业务处理(公共)-D2执行数据集按指定格式转文本(公共)-自定义字段1不能为空", false);
                implementDataAppointFormatShiftTextComRespDto = interfaceModeService.implementDataAppointFormatShiftTextCom(implementDataAppointFormatShiftTextComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                UpdateQuestionComRespDto updateQuestionComRespDto = null;
                if (addQuestionComRespDto != null && implementDataAppointFormatShiftTextComRespDto != null) {
                    UpdateQuestionComReqDto updateQuestionComReqDto = new UpdateQuestionComReqDto();
                    if (addQuestionComRespDto != null) {
                        updateQuestionComReqDto.setQuestionId(addQuestionComRespDto.getQuestionId());//SimpleFieldAssign//sourceId:1362008_1_54852
                    }
                    if (implementDataAppointFormatShiftTextComRespDto != null) {
                        updateQuestionComReqDto.setQuestionImg(implementDataAppointFormatShiftTextComRespDto.getCustomText());//SimpleFieldAssign//sourceId:1362009_1_54852
                    }

                    /*D3修改问题(公共)[7782]   */
                    Assert.isNull(updateQuestionComReqDto.getQuestionId(), "D3新增问题业务处理(公共)-D3修改问题(公共)-问题ID不能为空", false);
                    updateQuestionComRespDto = updateQuestionCom(updateQuestionComReqDto)/*vcase invoke 同服务,同domain*/;


                }
            }
            if ((reqDto != null && reqDto.getSubjectLifeCycle() != null && reqDto.getSubjectLifeCycle().equals("CURRENTLY_VALID"))) {
                //if(D3新增问题业务处理(公共).主体生命周期 等于 当前有效)  53719

                ImplementQuestionLevelConvertMsgLevelComRespDto implementQuestionLevelConvertMsgLevelComRespDto = null;
                ImplementQuestionLevelConvertMsgLevelComReqDto implementQuestionLevelConvertMsgLevelComReqDto = new ImplementQuestionLevelConvertMsgLevelComReqDto();
                if (reqDto != null) {
                    implementQuestionLevelConvertMsgLevelComReqDto.setQuestionLevel(reqDto.getQuestionLevel());//SimpleFieldAssign//sourceId:1358003_1_54702
                }

                /*D3执行问题等级转消息提示层级(公共)[8033]   */
                Assert.isNull(implementQuestionLevelConvertMsgLevelComReqDto.getQuestionLevel(), "D3新增问题业务处理(公共)-D3执行问题等级转消息提示层级(公共)-问题等级不能为空", false);
                implementQuestionLevelConvertMsgLevelComRespDto = implementQuestionLevelConvertMsgLevelCom(implementQuestionLevelConvertMsgLevelComReqDto)/*vcase invoke 同服务,同domain*/;


                ImplementUpdateQuestionStatusMsgNumComRespDto implementUpdateQuestionStatusMsgNumComRespDto = null;
                if (addQuestionComRespDto != null && implementQuestionLevelConvertMsgLevelComRespDto != null) {
                    ImplementUpdateQuestionStatusMsgNumComReqDto implementUpdateQuestionStatusMsgNumComReqDto = new ImplementUpdateQuestionStatusMsgNumComReqDto();
                    implementUpdateQuestionStatusMsgNumComReqDto.setStatusBizOptType("INITIATE_QUESTION_QUESTIONABILITY");//sourceId:1467749_1_58543
                    implementUpdateQuestionStatusMsgNumComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1467752_1_58543
                    implementUpdateQuestionStatusMsgNumComReqDto.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:1467753_1_58543
                    if (addQuestionComRespDto != null) {
                        implementUpdateQuestionStatusMsgNumComReqDto.setQuestionId(addQuestionComRespDto.getQuestionId());//SimpleFieldAssign//sourceId:1467750_1_58543
                    }
                    if (implementQuestionLevelConvertMsgLevelComRespDto != null) {
                        implementUpdateQuestionStatusMsgNumComReqDto.setMessageImportantLevel(implementQuestionLevelConvertMsgLevelComRespDto.getMessageImportantLevel());//SimpleFieldAssign//sourceId:1467756_1_58543
                    }

                    /*D3执行更新问题状态及消息与数量(公共)[8252]   */
                    Assert.isNull(implementUpdateQuestionStatusMsgNumComReqDto.getStatusBizOptType(), "D3新增问题业务处理(公共)-D3执行更新问题状态及消息与数量(公共)-状态业务操作类型不能为空", false);
                    Assert.isNull(implementUpdateQuestionStatusMsgNumComReqDto.getQuestionId(), "D3新增问题业务处理(公共)-D3执行更新问题状态及消息与数量(公共)-问题ID不能为空", false);
                    Assert.isNull(implementUpdateQuestionStatusMsgNumComReqDto.getMessageImportantLevel(), "D3新增问题业务处理(公共)-D3执行更新问题状态及消息与数量(公共)-消息重要紧急度层级不能为空", false);
                    Assert.isNull(implementUpdateQuestionStatusMsgNumComReqDto.getSpaceId(), "D3新增问题业务处理(公共)-D3执行更新问题状态及消息与数量(公共)-创建于空间ID不能为空", false);
                    Assert.isNull(implementUpdateQuestionStatusMsgNumComReqDto.getAppId(), "D3新增问题业务处理(公共)-D3执行更新问题状态及消息与数量(公共)-创建于联盟应用ID不能为空", false);
                    implementUpdateQuestionStatusMsgNumComRespDto = implementUpdateQuestionStatusMsgNumCom(implementUpdateQuestionStatusMsgNumComReqDto)/*vcase invoke 同服务,同domain*/;


                }
            }
        } else {
            //else  52583

//异常结束 52584
            throw new BizException("500", "系统异常，请联系管理员！", false);
        }
        AddQuestionBusinessProcessingComRespDto retData = new AddQuestionBusinessProcessingComRespDto();
        if (addQuestionComRespDto_1 != null) {
            retData.setQuestionId(addQuestionComRespDto_1.getQuestionId());//SimpleFieldAssign//sourceId:1276809_1
        }
        if (setWorkContentResponsibleReportObjectComRespDto_1 != null) {
            retData.setPrincipalVirtualOrgMemberId(setWorkContentResponsibleReportObjectComRespDto_1.getPrincipalVirtualOrgMemberId());//SimpleFieldAssign//sourceId:1276810_1
        }


        return retData;
    }

    /**
     * D3删除问题(公共)[7806]
     * gen by moon at 11/10/2023, 3:20:44 PM
     */
    @Trace(operationName = "D3删除问题(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public DeleteQuestionComRespDto deleteQuestionCom(DeleteQuestionComReqDto reqDto) {


        //步骤0: 3-7-02删除问题 - deleteQuestion
        boolean bOOLEAN;
        String string = new String();
        if (reqDto != null) {
            string = reqDto.getQuestionId();
            ;//SimpleFieldAssign//sourceId:1258630_1
        }

        /*3-7-02删除问题[7804]   */
        Assert.isNull(string, "D3删除问题(公共)-3-7-02删除问题-问题ID不能为空", false);
        bOOLEAN = mOmsQuestionService.deleteQuestion(string)/*vcase invoke 本地 method 方法调用;*/;


        DeleteQuestionComRespDto retData = new DeleteQuestionComRespDto();


        return retData;
    }

    /**
     * D3修改问题业务处理(公共)[7858]
     * gen by moon at 7/18/2024, 6:34:25 PM
     */
    @Trace(operationName = "D3修改问题业务处理(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public UpdateQuestionBusinessProcessingComRespDto updateQuestionBusinessProcessingCom(UpdateQuestionBusinessProcessingComReqDto reqDto) {


        //virtualUsage 3-7-02-查询问题详情  53814
        OmsQuestion omsQuestion = null;
        QueryQuestionDetailReq queryQuestionDetailReq = new QueryQuestionDetailReq();
        queryQuestionDetailReq.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1318115_1_53814
        if (reqDto != null) {
            queryQuestionDetailReq.setQuestionId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1318114_1_53814
            queryQuestionDetailReq.setQuestionIntroduce(reqDto.getQuestionIntroduce());//SimpleFieldAssign//sourceId:1361952_1_53814
        }

        /*3-7-02-查询问题详情[7783]   */
        Assert.isNull(queryQuestionDetailReq.getQuestionId(), "D3修改问题业务处理(公共)-3-7-02-查询问题详情-问题ID不能为空", false);
        Assert.isNull(queryQuestionDetailReq.getSpaceId(), "D3修改问题业务处理(公共)-3-7-02-查询问题详情-创建于空间ID不能为空", false);
        omsQuestion = mOmsQuestionService.queryQuestionDetail(queryQuestionDetailReq)/*vcase invoke 本地 method 方法调用;*/;


        if ((omsQuestion == null)) {
            //if(3-7-02-查询问题详情.出参 值等于空 )  53758

            QuerySameQuestionListComRespDto querySameQuestionListComRespDto = null;
            QuerySameQuestionListComReqDto querySameQuestionListComReqDto = new QuerySameQuestionListComReqDto();
            querySameQuestionListComReqDto.setBizAppCode("LIGHT_OA_APP");//CUSTOM_CONVENTION//sourceId:1321932_1_53759
            querySameQuestionListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1316455_1_53759
            if (reqDto != null) {
                querySameQuestionListComReqDto.setQuestionIntroduce(reqDto.getQuestionIntroduce());//SimpleFieldAssign//sourceId:1316454_1_53759
            }

            /*D3查询相同的问题列表(公共)[7827]   */
            Assert.isNull(querySameQuestionListComReqDto.getQuestionIntroduce(), "D3修改问题业务处理(公共)-D3查询相同的问题列表(公共)-问题文字简介不能为空", false);
            Assert.isNull(querySameQuestionListComReqDto.getBizAppCode(), "D3修改问题业务处理(公共)-D3查询相同的问题列表(公共)-业务应用标识不能为空", false);
            Assert.isNull(querySameQuestionListComReqDto.getSpaceId(), "D3修改问题业务处理(公共)-D3查询相同的问题列表(公共)-创建于空间ID不能为空", false);
            querySameQuestionListComRespDto = querySameQuestionListCom(querySameQuestionListComReqDto)/*vcase invoke 同服务,同domain*/;


            if ((querySameQuestionListComRespDto != null && querySameQuestionListComRespDto.getQuestionList() != null && querySameQuestionListComRespDto.getQuestionList().size() > 0)) {
                //if(D3查询相同的问题列表(公共).问题列表数据集条数 大于 0)  53760

//异常结束 53761
                throw new BizException("C00116", "对不起！已存在~！", false);
            }
        }
//virtualUsage 3-7-02-查询问题详情  56975
        OmsQuestion omsQuestion_2 = null;
        QueryQuestionDetailReq queryQuestionDetailReq_1 = new QueryQuestionDetailReq();
        queryQuestionDetailReq_1.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1318115_1_56975
        if (reqDto != null) {
            queryQuestionDetailReq_1.setQuestionId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1318114_1_56975
        }

        /*3-7-02-查询问题详情[7783]   */
        Assert.isNull(queryQuestionDetailReq_1.getQuestionId(), "D3修改问题业务处理(公共)-3-7-02-查询问题详情-问题ID不能为空", false);
        Assert.isNull(queryQuestionDetailReq_1.getSpaceId(), "D3修改问题业务处理(公共)-3-7-02-查询问题详情-创建于空间ID不能为空", false);
        omsQuestion_2 = mOmsQuestionService.queryQuestionDetail(queryQuestionDetailReq_1)/*vcase invoke 本地 method 方法调用;*/;


        if ((reqDto != null && reqDto.getQuestionStatus() != null && reqDto != null && reqDto.getSubjectLifeCycle() != null && reqDto.getSubjectLifeCycle().equals("CURRENTLY_VALID") && omsQuestion_2 != null && omsQuestion_2.getSubjectLifeCycle() != null && omsQuestion_2.getSubjectLifeCycle().equals("CURRENTLY_VALID"))) {
            //if((D3修改问题业务处理(公共).问题状态 值不等于空  and D3修改问题业务处理(公共).主体生命周期 等于 当前有效 and 3-7-02-查询问题详情（用于判断生命周期状态）.主体生命周期 等于 当前有效))  53812

            AnalysisGroupAdminCurrentRoleComRespDto analysisGroupAdminCurrentRoleComRespDto = null;
            AnalysisGroupAdminCurrentRoleComReqDto analysisGroupAdminCurrentRoleComReqDto = new AnalysisGroupAdminCurrentRoleComReqDto();
            analysisGroupAdminCurrentRoleComReqDto.setOriginalRoleMemberId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1478752_1_59246
            analysisGroupAdminCurrentRoleComReqDto.setTableTypeCode("OMS_QUESTION");//sourceId:1478755_1_59246
            analysisGroupAdminCurrentRoleComReqDto.setUseScene("WORK_TASK_SCENE");//sourceId:1478754_1_59246
            analysisGroupAdminCurrentRoleComReqDto.setIsAdmin("TRUE");//sourceId:1509770_1_59246
            if (reqDto != null) {
                analysisGroupAdminCurrentRoleComReqDto.setEntityId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1478753_1_59246
            }

            /*D3分析小圈子管理员当前身份角色(公共)[8288]   */
            Assert.isNull(analysisGroupAdminCurrentRoleComReqDto.getOriginalRoleMemberId(), "D3修改问题业务处理(公共)-D3分析小圈子管理员当前身份角色(公共)-身份人员ID不能为空", false);
            Assert.isNull(analysisGroupAdminCurrentRoleComReqDto.getTableTypeCode(), "D3修改问题业务处理(公共)-D3分析小圈子管理员当前身份角色(公共)-冗余内容表类型编码不能为空", false);
            Assert.isNull(analysisGroupAdminCurrentRoleComReqDto.getEntityId(), "D3修改问题业务处理(公共)-D3分析小圈子管理员当前身份角色(公共)-冗余内容表主键ID不能为空", false);
            Assert.isNull(analysisGroupAdminCurrentRoleComReqDto.getUseScene(), "D3修改问题业务处理(公共)-D3分析小圈子管理员当前身份角色(公共)-虚拟组织使用场景不能为空", false);
            Assert.isNull(analysisGroupAdminCurrentRoleComReqDto.getIsAdmin(), "D3修改问题业务处理(公共)-D3分析小圈子管理员当前身份角色(公共)-是否管理员不能为空", false);
            analysisGroupAdminCurrentRoleComRespDto = virtualOrgService.analysisGroupAdminCurrentRoleCom(analysisGroupAdminCurrentRoleComReqDto)/*vcase invoke isSameApp*/;


            ImplementUpdateQuestionStatusMsgNumComRespDto implementUpdateQuestionStatusMsgNumComRespDto = null;
            if (analysisGroupAdminCurrentRoleComRespDto != null) {
                ImplementUpdateQuestionStatusMsgNumComReqDto implementUpdateQuestionStatusMsgNumComReqDto = new ImplementUpdateQuestionStatusMsgNumComReqDto();
                implementUpdateQuestionStatusMsgNumComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1465538_1_58435
                implementUpdateQuestionStatusMsgNumComReqDto.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:1465539_1_58435
                if (reqDto != null) {
                    implementUpdateQuestionStatusMsgNumComReqDto.setQuestionId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1465536_1_58435
                    implementUpdateQuestionStatusMsgNumComReqDto.setStatusBizOptType(reqDto.getStatusBizOptType());//SimpleFieldAssign//sourceId:1465535_1_58435
                    implementUpdateQuestionStatusMsgNumComReqDto.setQuestionStatus(reqDto.getQuestionStatus());//SimpleFieldAssign//sourceId:1465540_1_58435
                    implementUpdateQuestionStatusMsgNumComReqDto.setRemarks(reqDto.getRemarks());//SimpleFieldAssign//sourceId:1465541_1_58435
                }
                if (analysisGroupAdminCurrentRoleComRespDto != null) {
                    implementUpdateQuestionStatusMsgNumComReqDto.setRoleCode(analysisGroupAdminCurrentRoleComRespDto.getRoleCode());//SimpleFieldAssign//sourceId:1478757_1_58435
                }

                /*D3执行更新问题状态及消息与数量(公共)[8252]   */
                Assert.isNull(implementUpdateQuestionStatusMsgNumComReqDto.getQuestionId(), "D3修改问题业务处理(公共)-D3执行更新问题状态及消息与数量(公共)-问题ID不能为空", false);
                Assert.isNull(implementUpdateQuestionStatusMsgNumComReqDto.getRoleCode(), "D3修改问题业务处理(公共)-D3执行更新问题状态及消息与数量(公共)-角色标识不能为空", false);
                Assert.isNull(implementUpdateQuestionStatusMsgNumComReqDto.getStatusBizOptType(), "D3修改问题业务处理(公共)-D3执行更新问题状态及消息与数量(公共)-状态业务操作类型不能为空", false);
                Assert.isNull(implementUpdateQuestionStatusMsgNumComReqDto.getQuestionStatus(), "D3修改问题业务处理(公共)-D3执行更新问题状态及消息与数量(公共)-问题状态不能为空", false);
                Assert.isNull(implementUpdateQuestionStatusMsgNumComReqDto.getSpaceId(), "D3修改问题业务处理(公共)-D3执行更新问题状态及消息与数量(公共)-创建于空间ID不能为空", false);
                Assert.isNull(implementUpdateQuestionStatusMsgNumComReqDto.getAppId(), "D3修改问题业务处理(公共)-D3执行更新问题状态及消息与数量(公共)-创建于联盟应用ID不能为空", false);
                implementUpdateQuestionStatusMsgNumComRespDto = implementUpdateQuestionStatusMsgNumCom(implementUpdateQuestionStatusMsgNumComReqDto)/*vcase invoke 同服务,同domain*/;


            }
        } else if ((reqDto != null && reqDto.getQuestionStatus() == null && reqDto != null && reqDto.getRemarks() == null && reqDto != null && reqDto.getSubjectLifeCycle() != null && reqDto.getSubjectLifeCycle().equals("CURRENTLY_VALID") && omsQuestion_2 != null && omsQuestion_2.getSubjectLifeCycle() != null && omsQuestion_2.getSubjectLifeCycle().equals("EDITING")) || (reqDto != null && reqDto.getQuestionStatus() == null && reqDto != null && reqDto.getRemarks() == null && reqDto != null && reqDto.getSubjectLifeCycle() != null && reqDto.getSubjectLifeCycle().equals("EDITING") && omsQuestion_2 != null && omsQuestion_2.getSubjectLifeCycle() != null && omsQuestion_2.getSubjectLifeCycle().equals("EDITING")) || (reqDto != null && reqDto.getQuestionStatus() == null && reqDto != null && reqDto.getRemarks() == null && reqDto != null && reqDto.getSubjectLifeCycle() != null && reqDto.getSubjectLifeCycle().equals("CURRENTLY_VALID") && omsQuestion_2 != null && omsQuestion_2.getSubjectLifeCycle() != null && omsQuestion_2.getSubjectLifeCycle().equals("CURRENTLY_VALID"))) {
            //elseif((D3修改问题业务处理(公共).问题状态 值等于空  and D3修改问题业务处理(公共).状态备注 值等于空  and D3修改问题业务处理(公共).主体生命周期 等于 当前有效 and 3-7-02-查询问题详情（用于判断生命周期状态）.主体生命周期 等于 正在编辑) or (D3修改问题业务处理(公共).问题状态 值等于空  and D3修改问题业务处理(公共).状态备注 值等于空  and D3修改问题业务处理(公共).主体生命周期 等于 正在编辑 and 3-7-02-查询问题详情（用于判断生命周期状态）.主体生命周期 等于 正在编辑) or (D3修改问题业务处理(公共).问题状态 值等于空  and D3修改问题业务处理(公共).状态备注 值等于空  and D3修改问题业务处理(公共).主体生命周期 等于 当前有效 and 3-7-02-查询问题详情（用于判断生命周期状态）.主体生命周期 等于 当前有效))  53894

            UpdateQuestionComRespDto updateQuestionComRespDto = null;
            UpdateQuestionComReqDto updateQuestionComReqDto = new UpdateQuestionComReqDto();
            if (reqDto != null) {
                updateQuestionComReqDto.setQuestionId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1277975_1_53895
                updateQuestionComReqDto.setQuestionNumber(reqDto.getQuestionNumber());//SimpleFieldAssign//sourceId:1277976_1_53895
                updateQuestionComReqDto.setQuestionLevel(reqDto.getQuestionLevel());//SimpleFieldAssign//sourceId:1277980_1_53895
                updateQuestionComReqDto.setQuestionIntroduce(reqDto.getQuestionIntroduce());//SimpleFieldAssign//sourceId:1277977_1_53895
                updateQuestionComReqDto.setQuestionDesc(reqDto.getQuestionDesc());//SimpleFieldAssign//sourceId:1277978_1_53895
                updateQuestionComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1277981_1_53895
            }

            /*D3修改问题(公共)[7782]   */
            Assert.isNull(updateQuestionComReqDto.getQuestionId(), "D3修改问题业务处理(公共)-D3修改问题(公共)-问题ID不能为空", false);
            updateQuestionComRespDto = updateQuestionCom(updateQuestionComReqDto)/*vcase invoke 同服务,同domain*/;


        }
        if ((reqDto != null && reqDto.getBusAppDocRelaList() != null && reqDto.getBusAppDocRelaList().size() > 0)) {
            //if(D3修改问题业务处理(公共).业务应用文档关系列表数据集条数 大于 0)  54846

            ImplementSeparateAddOrDeleteDocListComRespDto implementSeparateAddOrDeleteDocListComRespDto = null;
            if (omsQuestion_2 != null) {
                ImplementSeparateAddOrDeleteDocListComReqDto implementSeparateAddOrDeleteDocListComReqDto = new ImplementSeparateAddOrDeleteDocListComReqDto();
                implementSeparateAddOrDeleteDocListComReqDto.setIsCleanPersonalInvalidDocument("TRUE");//sourceId:1934782_1_69769
                implementSeparateAddOrDeleteDocListComReqDto.setDocUseSceneCode("WORK_TASKS");//sourceId:1857182_1_69769
                implementSeparateAddOrDeleteDocListComReqDto.setDocUseType("PROBLEM_PIC");//sourceId:1857183_1_69769
                implementSeparateAddOrDeleteDocListComReqDto.setIsResult("FALSE");//sourceId:1859372_1_69769
                implementSeparateAddOrDeleteDocListComReqDto.setOwnTableTypeCode("OMS_QUESTION");//sourceId:1857185_1_69769
                implementSeparateAddOrDeleteDocListComReqDto.setUserId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecUserId());//CURRENT_USERID//sourceId:1857191_1_69769
                implementSeparateAddOrDeleteDocListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1857180_1_69769
                if (reqDto != null && reqDto.getBusAppDocRelaList() != null && !CollectionUtil.isEmpty(reqDto.getBusAppDocRelaList())) {
                    implementSeparateAddOrDeleteDocListComReqDto.setDocumentList(reqDto.getBusAppDocRelaList().stream().map(item -> BeanUtil.toBean(item, com.wicket.okrcomponent.integration.dto.DocumentDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1857181_1_69769
                }
                if (reqDto != null) {
                    implementSeparateAddOrDeleteDocListComReqDto.setOwnEntityId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1857179_1_69769
                }
                if (omsQuestion_2 != null) {
                    implementSeparateAddOrDeleteDocListComReqDto.setOwnParentContentTypeCode(omsQuestion_2.getParentTableTypeCode());//SimpleFieldAssign//sourceId:1857186_1_69769
                    implementSeparateAddOrDeleteDocListComReqDto.setOwnParentContentId(omsQuestion_2.getParentEntityId());//SimpleFieldAssign//sourceId:1857188_1_69769
                    implementSeparateAddOrDeleteDocListComReqDto.setThemeContentTypeCode(omsQuestion_2.getThemeContentTypeCode());//SimpleFieldAssign//sourceId:1857189_1_69769
                    implementSeparateAddOrDeleteDocListComReqDto.setThemeContentId(omsQuestion_2.getThemeContentId());//SimpleFieldAssign//sourceId:1857190_1_69769
                }

                /*D2执行分离新增或删除文档列表(公共)[8783]   */
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getIsCleanPersonalInvalidDocument(), "D3修改问题业务处理(公共)-D2执行分离新增或删除文档列表(公共)-是否清理个人无效文档不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getDocUseSceneCode(), "D3修改问题业务处理(公共)-D2执行分离新增或删除文档列表(公共)-文档应用业务场景不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getDocUseType(), "D3修改问题业务处理(公共)-D2执行分离新增或删除文档列表(公共)-文档用途类型不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getIsResult(), "D3修改问题业务处理(公共)-D2执行分离新增或删除文档列表(公共)-冗余是否结果文档不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getOwnEntityId(), "D3修改问题业务处理(公共)-D2执行分离新增或删除文档列表(公共)-归属内容表主键ID不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getOwnTableTypeCode(), "D3修改问题业务处理(公共)-D2执行分离新增或删除文档列表(公共)-归属内容表类型编码不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getUserId(), "D3修改问题业务处理(公共)-D2执行分离新增或删除文档列表(公共)-归属个人账号不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getSpaceId(), "D3修改问题业务处理(公共)-D2执行分离新增或删除文档列表(公共)-创建于空间ID不能为空", false);
                implementSeparateAddOrDeleteDocListComRespDto = unstructuredDataService.implementSeparateAddOrDeleteDocListCom(implementSeparateAddOrDeleteDocListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            }
            ImplementDataAppointFormatShiftTextComRespDto implementDataAppointFormatShiftTextComRespDto = null;
            ImplementDataAppointFormatShiftTextComReqDto implementDataAppointFormatShiftTextComReqDto = new ImplementDataAppointFormatShiftTextComReqDto();
            implementDataAppointFormatShiftTextComReqDto.setCustomField1("；");//CUSTOM_CONVENTION//sourceId:1361980_1_54849
            if (reqDto != null && reqDto.getBusAppDocRelaList() != null && !CollectionUtil.isEmpty(reqDto.getBusAppDocRelaList())) {
                implementDataAppointFormatShiftTextComReqDto.setDataAppointFormatShiftTextList(reqDto.getBusAppDocRelaList().stream().map(item -> item.getFileRelativePathAccess())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1361979_1_54849
            }

            /*D2执行数据集按指定格式转文本(公共)[7515]   */
            Assert.isNull(implementDataAppointFormatShiftTextComReqDto.getCustomField1(), "D3修改问题业务处理(公共)-D2执行数据集按指定格式转文本(公共)-自定义字段1不能为空", false);
            implementDataAppointFormatShiftTextComRespDto = interfaceModeService.implementDataAppointFormatShiftTextCom(implementDataAppointFormatShiftTextComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            UpdateQuestionComRespDto updateQuestionComRespDto_1 = null;
            if (implementDataAppointFormatShiftTextComRespDto != null) {
                UpdateQuestionComReqDto updateQuestionComReqDto_1 = new UpdateQuestionComReqDto();
                if (reqDto != null) {
                    updateQuestionComReqDto_1.setQuestionId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1277975_1_54850
                }
                if (implementDataAppointFormatShiftTextComRespDto != null) {
                    updateQuestionComReqDto_1.setQuestionImg(implementDataAppointFormatShiftTextComRespDto.getCustomText());//SimpleFieldAssign//sourceId:1277979_1_54850
                }

                /*D3修改问题(公共)[7782]   */
                Assert.isNull(updateQuestionComReqDto_1.getQuestionId(), "D3修改问题业务处理(公共)-D3修改问题(公共)-问题ID不能为空", false);
                updateQuestionComRespDto_1 = updateQuestionCom(updateQuestionComReqDto_1)/*vcase invoke 同服务,同domain*/;


            }
        }
        if ((reqDto != null && reqDto.getSubjectLifeCycle() != null && reqDto.getSubjectLifeCycle().equals("CURRENTLY_VALID") && omsQuestion_2 != null && omsQuestion_2.getSubjectLifeCycle() != null && omsQuestion_2.getSubjectLifeCycle().equals("EDITING"))) {
            //if((D3修改问题业务处理(公共).主体生命周期 等于 当前有效 and 3-7-02-查询问题详情（用于判断生命周期状态）.主体生命周期 等于 正在编辑))  52624

            ImplementUpdateWorkContGroupsComRespDto implementUpdateWorkContGroupsComRespDto = null;
            ImplementUpdateWorkContGroupsComReqDto implementUpdateWorkContGroupsComReqDto = new ImplementUpdateWorkContGroupsComReqDto();
            if (reqDto != null) {
                implementUpdateWorkContGroupsComReqDto.setEntityId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1277971_1_52625
                implementUpdateWorkContGroupsComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1277974_1_52625
            }

            /*D3更新工作内容小圈子(生命周期状态)[7857]   */
            Assert.isNull(implementUpdateWorkContGroupsComReqDto.getEntityId(), "D3修改问题业务处理(公共)-D3更新工作内容小圈子(生命周期状态)-内容表主键ID不能为空", false);
            Assert.isNull(implementUpdateWorkContGroupsComReqDto.getSubjectLifeCycle(), "D3修改问题业务处理(公共)-D3更新工作内容小圈子(生命周期状态)-主体生命周期不能为空", false);
            implementUpdateWorkContGroupsComRespDto = virtualOrgService.implementUpdateWorkContGroupsCom(implementUpdateWorkContGroupsComReqDto)/*vcase invoke isSameApp*/;


            ImplementQuestionLevelConvertMsgLevelComRespDto implementQuestionLevelConvertMsgLevelComRespDto = null;
            if (omsQuestion_2 != null) {
                ImplementQuestionLevelConvertMsgLevelComReqDto implementQuestionLevelConvertMsgLevelComReqDto = new ImplementQuestionLevelConvertMsgLevelComReqDto();
                if (omsQuestion_2 != null) {
                    implementQuestionLevelConvertMsgLevelComReqDto.setQuestionLevel(omsQuestion_2.getQuestionLevel());//SimpleFieldAssign//sourceId:1358005_1_54713
                }

                /*D3执行问题等级转消息提示层级(公共)[8033]   */
                Assert.isNull(implementQuestionLevelConvertMsgLevelComReqDto.getQuestionLevel(), "D3修改问题业务处理(公共)-D3执行问题等级转消息提示层级(公共)-问题等级不能为空", false);
                implementQuestionLevelConvertMsgLevelComRespDto = implementQuestionLevelConvertMsgLevelCom(implementQuestionLevelConvertMsgLevelComReqDto)/*vcase invoke 同服务,同domain*/;


            }
            ImplementUpdateQuestionStatusMsgNumComRespDto implementUpdateQuestionStatusMsgNumComRespDto_1 = null;
            if (implementQuestionLevelConvertMsgLevelComRespDto != null) {
                ImplementUpdateQuestionStatusMsgNumComReqDto implementUpdateQuestionStatusMsgNumComReqDto_1 = new ImplementUpdateQuestionStatusMsgNumComReqDto();
                implementUpdateQuestionStatusMsgNumComReqDto_1.setStatusBizOptType("INITIATE_QUESTION_QUESTIONABILITY");//sourceId:1465396_1_58431
                implementUpdateQuestionStatusMsgNumComReqDto_1.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1465399_1_58431
                implementUpdateQuestionStatusMsgNumComReqDto_1.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:1465400_1_58431
                if (reqDto != null) {
                    implementUpdateQuestionStatusMsgNumComReqDto_1.setQuestionId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1465397_1_58431
                }
                if (implementQuestionLevelConvertMsgLevelComRespDto != null) {
                    implementUpdateQuestionStatusMsgNumComReqDto_1.setMessageImportantLevel(implementQuestionLevelConvertMsgLevelComRespDto.getMessageImportantLevel());//SimpleFieldAssign//sourceId:1465531_1_58431
                }

                /*D3执行修改问题状态及消息与数量(公共)[8252]   */
                Assert.isNull(implementUpdateQuestionStatusMsgNumComReqDto_1.getStatusBizOptType(), "D3修改问题业务处理(公共)-D3执行修改问题状态及消息与数量(公共)-状态业务操作类型不能为空", false);
                Assert.isNull(implementUpdateQuestionStatusMsgNumComReqDto_1.getQuestionId(), "D3修改问题业务处理(公共)-D3执行修改问题状态及消息与数量(公共)-问题ID不能为空", false);
                Assert.isNull(implementUpdateQuestionStatusMsgNumComReqDto_1.getMessageImportantLevel(), "D3修改问题业务处理(公共)-D3执行修改问题状态及消息与数量(公共)-消息重要紧急度层级不能为空", false);
                Assert.isNull(implementUpdateQuestionStatusMsgNumComReqDto_1.getSpaceId(), "D3修改问题业务处理(公共)-D3执行修改问题状态及消息与数量(公共)-创建于空间ID不能为空", false);
                Assert.isNull(implementUpdateQuestionStatusMsgNumComReqDto_1.getAppId(), "D3修改问题业务处理(公共)-D3执行修改问题状态及消息与数量(公共)-创建于联盟应用ID不能为空", false);
                implementUpdateQuestionStatusMsgNumComRespDto_1 = implementUpdateQuestionStatusMsgNumCom(implementUpdateQuestionStatusMsgNumComReqDto_1)/*vcase invoke 同服务,同domain*/;


            }
        }
        UpdateQuestionBusinessProcessingComRespDto retData = new UpdateQuestionBusinessProcessingComRespDto();


        return retData;
    }

    /**
     * D3删除问题业务处理(公共)[7864]
     * gen by moon at 6/9/2024, 1:08:57 AM
     */
    @Trace(operationName = "D3删除问题业务处理(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public DeleteQuestionBusinessProcessingComRespDto deleteQuestionBusinessProcessingCom(DeleteQuestionBusinessProcessingComReqDto reqDto) {


        //virtualUsage D3查询问题详情(公共)  52691
        QueryQuestionDetailComRespDto queryQuestionDetailComRespDto = null;
        QueryQuestionDetailComReqDto queryQuestionDetailComReqDto = new QueryQuestionDetailComReqDto();
        queryQuestionDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1280135_1_52691
        if (reqDto != null) {
            queryQuestionDetailComReqDto.setQuestionId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1280133_1_52691
        }

        /*D3查询问题详情(公共)[7817]   */
        Assert.isNull(queryQuestionDetailComReqDto.getQuestionId(), "D3删除问题业务处理(公共)-D3查询问题详情(公共)-问题ID不能为空", false);
        Assert.isNull(queryQuestionDetailComReqDto.getSpaceId(), "D3删除问题业务处理(公共)-D3查询问题详情(公共)-创建于空间ID不能为空", false);
        queryQuestionDetailComRespDto = queryQuestionDetailCom(queryQuestionDetailComReqDto)/*vcase invoke 同服务,同domain*/;


//virtualUsage D1执行生命周期判断(公共)  52692
        ImplementLifeCycleJudgmentComRespDto implementLifeCycleJudgmentComRespDto = null;
        if (queryQuestionDetailComRespDto != null) {
            ImplementLifeCycleJudgmentComReqDto implementLifeCycleJudgmentComReqDto = new ImplementLifeCycleJudgmentComReqDto();
            implementLifeCycleJudgmentComReqDto.setLifecyCycleOperationType("DELETE");//sourceId:1280178_1_52692
            if (queryQuestionDetailComRespDto != null) {
                implementLifeCycleJudgmentComReqDto.setSubjectLifeCycle(queryQuestionDetailComRespDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1280179_1_52692
            }

            /*D1执行生命周期判断(公共)[7830]   */
            Assert.isNull(implementLifeCycleJudgmentComReqDto.getSubjectLifeCycle(), "D3删除问题业务处理(公共)-D1执行生命周期判断(公共)-主体生命周期不能为空", false);
            Assert.isNull(implementLifeCycleJudgmentComReqDto.getLifecyCycleOperationType(), "D3删除问题业务处理(公共)-D1执行生命周期判断(公共)-生命周期操作类型不能为空", false);
            implementLifeCycleJudgmentComRespDto = batchService.implementLifeCycleJudgmentCom(implementLifeCycleJudgmentComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }
//virtualUsage D3删除问题(公共)  52693
        DeleteQuestionComRespDto deleteQuestionComRespDto = null;
        DeleteQuestionComReqDto deleteQuestionComReqDto = new DeleteQuestionComReqDto();
        if (reqDto != null) {
            deleteQuestionComReqDto.setQuestionId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1280180_1_52693
        }

        /*D3删除问题(公共)[7806]   */
        Assert.isNull(deleteQuestionComReqDto.getQuestionId(), "D3删除问题业务处理(公共)-D3删除问题(公共)-问题ID不能为空", false);
        deleteQuestionComRespDto = deleteQuestionCom(deleteQuestionComReqDto)/*vcase invoke 同服务,同domain*/;


//virtualUsage D3删除问题小圈子(公共)  52694
        DeleteWorkContGroupsComRespDto deleteWorkContGroupsComRespDto = null;
        DeleteWorkContGroupsComReqDto deleteWorkContGroupsComReqDto = new DeleteWorkContGroupsComReqDto();
        if (reqDto != null) {
            deleteWorkContGroupsComReqDto.setEntityId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1280181_1_52694
        }

        /*D3删除问题小圈子(公共)[7861]   */
        Assert.isNull(deleteWorkContGroupsComReqDto.getEntityId(), "D3删除问题业务处理(公共)-D3删除问题小圈子(公共)-内容表主键ID不能为空", false);
        deleteWorkContGroupsComRespDto = virtualOrgService.deleteWorkContGroupsCom(deleteWorkContGroupsComReqDto)/*vcase invoke isSameApp*/;


//virtualUsage D2批量删文档关系或文档(公共)  69801
        BatchDeleteDocRelOrDocComRespDto batchDeleteDocRelOrDocComRespDto = null;
        BatchDeleteDocRelOrDocComReqDto batchDeleteDocRelOrDocComReqDto = new BatchDeleteDocRelOrDocComReqDto();
        batchDeleteDocRelOrDocComReqDto.setDocUseSceneCode("WORK_TASKS");//sourceId:1857749_1_69801
        batchDeleteDocRelOrDocComReqDto.setDocUseType("PROBLEM_PIC");//sourceId:1857750_1_69801
        batchDeleteDocRelOrDocComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1857756_1_69801
        if (reqDto != null) {
            batchDeleteDocRelOrDocComReqDto.setOwnEntityId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1857753_1_69801
        }

        /*D2批量删文档关系或文档(公共)[9755]   */
        Assert.isNull(batchDeleteDocRelOrDocComReqDto.getDocUseSceneCode(), "D3删除问题业务处理(公共)-D2批量删文档关系或文档(公共)-文档应用业务场景不能为空", false);
        Assert.isNull(batchDeleteDocRelOrDocComReqDto.getDocUseType(), "D3删除问题业务处理(公共)-D2批量删文档关系或文档(公共)-文档用途类型不能为空", false);
        Assert.isNull(batchDeleteDocRelOrDocComReqDto.getOwnEntityId(), "D3删除问题业务处理(公共)-D2批量删文档关系或文档(公共)-归属内容表主键ID不能为空", false);
        Assert.isNull(batchDeleteDocRelOrDocComReqDto.getSpaceId(), "D3删除问题业务处理(公共)-D2批量删文档关系或文档(公共)-创建于空间ID不能为空", false);
        batchDeleteDocRelOrDocComRespDto = unstructuredDataService.batchDeleteDocRelOrDocCom(batchDeleteDocRelOrDocComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        DeleteQuestionBusinessProcessingComRespDto retData = new DeleteQuestionBusinessProcessingComRespDto();


        return retData;
    }

    /**
     * D3-更新问题已过时长(公共)[7963]
     * gen by moon at 11/16/2023, 9:35:27 PM
     */
    @Trace(operationName = "D3-更新问题已过时长(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public RefreshQuestionPassDurationComRespDto refreshQuestionPassDurationCom(RefreshQuestionPassDurationComReqDto reqDto) {


        //步骤0:  M3执行工作任务字段接收（特殊方法） - implementTypeCodeFieldsAccept
        //ModelCode: receptionService
        ImplementTypeCodeFieldsAcceptRespDto receptionServiceRes = null;
        ImplementTypeCodeFieldsAcceptReqDto receptionServiceReq = new ImplementTypeCodeFieldsAcceptReqDto();
        if (reqDto != null) {
            receptionServiceReq.setQuestionId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1323252_1
        }

        /*M3-接收入参字段[7735]  用于特殊方法接收上游入参。 */

        receptionServiceRes = nbQuestion.implementTypeCodeFieldsAccept(receptionServiceReq);


//步骤1: 3-7-02-查询问题详情 - queryQuestionDetail
        OmsQuestion omsQuestion = null;
        QueryQuestionDetailReq queryQuestionDetailReq = new QueryQuestionDetailReq();
        queryQuestionDetailReq.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1323255_1
        if (reqDto != null) {
            queryQuestionDetailReq.setQuestionId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1323254_1
        }

        /*3-7-02-查询问题详情[7783]   */
        Assert.isNull(queryQuestionDetailReq.getQuestionId(), "D3-更新问题已过时长(公共)-3-7-02-查询问题详情-问题ID不能为空", false);
        Assert.isNull(queryQuestionDetailReq.getSpaceId(), "D3-更新问题已过时长(公共)-3-7-02-查询问题详情-创建于空间ID不能为空", false);
        omsQuestion = mOmsQuestionService.queryQuestionDetail(queryQuestionDetailReq)/*vcase invoke 本地 method 方法调用;*/;


//步骤2: D3计算时间相减得偏差服务(公共) - calculateCaluDateDiffServiceCom
        CalculateCaluDateDiffServiceComRespDto calculateCaluDateDiffServiceComRespDto = null;
        if (omsQuestion != null) {
            CalculateCaluDateDiffServiceComReqDto calculateCaluDateDiffServiceComReqDto = new CalculateCaluDateDiffServiceComReqDto();
            calculateCaluDateDiffServiceComReqDto.setCaluStartTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:1323249_1
            if (omsQuestion != null) {
                calculateCaluDateDiffServiceComReqDto.setCaluEndTime(omsQuestion.getCreateTime());//SimpleFieldAssign//sourceId:1323250_1
            }

            /*D3计算时间相减得偏差服务(公共)[3366]   */
            Assert.isNull(calculateCaluDateDiffServiceComReqDto.getCaluStartTime(), "D3-更新问题已过时长(公共)-D3计算时间相减得偏差服务(公共)-参照时间不能为空", false);
            Assert.isNull(calculateCaluDateDiffServiceComReqDto.getCaluEndTime(), "D3-更新问题已过时长(公共)-D3计算时间相减得偏差服务(公共)-被减时间不能为空", false);
            calculateCaluDateDiffServiceComRespDto = calculationRulesService.calculateCaluDateDiffServiceCom(calculateCaluDateDiffServiceComReqDto)/*vcase invoke isSameApp*/;


        }

//步骤3: D2-执行两数相比输出指定文本(公共) - implementCompTwoNumberOutputSpecTextCom
        ImplementCompTwoNumberOutputSpecTextComRespDto implementCompTwoNumberOutputSpecTextComRespDto = null;
        if (calculateCaluDateDiffServiceComRespDto != null) {
            ImplementCompTwoNumberOutputSpecTextComReqDto implementCompTwoNumberOutputSpecTextComReqDto = new ImplementCompTwoNumberOutputSpecTextComReqDto();
            implementCompTwoNumberOutputSpecTextComReqDto.setFixedValue(Long.valueOf(99));//CUSTOM_CONVENTION//sourceId:1323306_1
            if (calculateCaluDateDiffServiceComRespDto != null) {
                implementCompTwoNumberOutputSpecTextComReqDto.setComFloatField(Double.valueOf(calculateCaluDateDiffServiceComRespDto.getTimeDiffHours()));//SimpleFieldAssign//sourceId:1323305_1
            }

            /*D2-偏差时长处理（超过100小时，显示99+，否则显示偏差时长）[7513]   */
            Assert.isNull(implementCompTwoNumberOutputSpecTextComReqDto.getComFloatField(), "D3-更新问题已过时长(公共)-D2-偏差时长处理（超过100小时，显示99+，否则显示偏差时长）-通用数值字段不能为空", false);
            Assert.isNull(implementCompTwoNumberOutputSpecTextComReqDto.getFixedValue(), "D3-更新问题已过时长(公共)-D2-偏差时长处理（超过100小时，显示99+，否则显示偏差时长）-固定数值不能为空", false);
            implementCompTwoNumberOutputSpecTextComRespDto = interfaceModeService.implementCompTwoNumberOutputSpecTextCom(implementCompTwoNumberOutputSpecTextComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }

//步骤4: 3-7-02修改问题 - updateQuestion
        boolean bOOLEAN;
        if (calculateCaluDateDiffServiceComRespDto != null) {
            OmsQuestion omsQuestion_2 = new OmsQuestion();
            if (reqDto != null) {
                omsQuestion_2.setQuestionId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1323326_1
            }
            if (calculateCaluDateDiffServiceComRespDto != null) {
                omsQuestion_2.setOverTimeLength(calculateCaluDateDiffServiceComRespDto.getTimeDiffHours() != null ? Double.valueOf(calculateCaluDateDiffServiceComRespDto.getTimeDiffHours()) : null);//SimpleFieldAssign//sourceId:1323327_1
            }
            if (implementCompTwoNumberOutputSpecTextComRespDto != null) {
                omsQuestion_2.setRemarks(implementCompTwoNumberOutputSpecTextComRespDto.getCustomField());//SimpleFieldAssign//sourceId:1323328_1
            }

            /*3-7-02修改问题[7745]   */
            Assert.isNull(omsQuestion_2.getQuestionId(), "D3-更新问题已过时长(公共)-3-7-02修改问题-问题ID不能为空", false);
            Assert.isNull(omsQuestion_2.getOverTimeLength(), "D3-更新问题已过时长(公共)-3-7-02修改问题-问题已过时长不能为空", false);
            Assert.isNull(omsQuestion_2.getRemarks(), "D3-更新问题已过时长(公共)-3-7-02修改问题-状态备注不能为空", false);
            bOOLEAN = mOmsQuestionService.updateQuestion(omsQuestion_2)/*vcase invoke 本地 method 方法调用;*/;


        }

        RefreshQuestionPassDurationComRespDto retData = new RefreshQuestionPassDurationComRespDto();


        return retData;
    }

    /**
     * D3执行问题等级转消息提示层级(公共)[8033]
     * gen by moon at 12/8/2023, 11:21:55 AM
     */
    @Trace(operationName = "D3执行问题等级转消息提示层级(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementQuestionLevelConvertMsgLevelComRespDto implementQuestionLevelConvertMsgLevelCom(ImplementQuestionLevelConvertMsgLevelComReqDto reqDto) {


        ImplementGainInParameterFieldsRespDto receptionServiceRes_3 = null;
//virtualUsage M3约定消息层级为1-5  54708
        //ModelCode: receptionService
        ImplementGainInParameterFieldsRespDto receptionServiceRes = null;
        ImplementGainInParameterFieldsReqDto receptionServiceReq = new ImplementGainInParameterFieldsReqDto();
        receptionServiceReq.setComNumField1(Long.valueOf(1));//CUSTOM_CONVENTION//sourceId:1357990_1_54708
        receptionServiceReq.setComNumField2(Long.valueOf(2));//CUSTOM_CONVENTION//sourceId:1357991_1_54708
        receptionServiceReq.setComNumField3(Long.valueOf(3));//CUSTOM_CONVENTION//sourceId:1357992_1_54708
        receptionServiceReq.setComNumField4(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:1357993_1_54708
        receptionServiceReq.setComNumField5(Long.valueOf(5));//CUSTOM_CONVENTION//sourceId:1357994_1_54708

        /*M3约定消息层级为1-5[6965]  用于特殊方法接收上游入参。 */
        Assert.isNull(receptionServiceReq.getComNumField1(), "D3执行问题等级转消息提示层级(公共)-M3约定消息层级为1-5-通用数值字段1（整数型）不能为空", false);
        Assert.isNull(receptionServiceReq.getComNumField2(), "D3执行问题等级转消息提示层级(公共)-M3约定消息层级为1-5-通用数值字段2（整数型）不能为空", false);
        Assert.isNull(receptionServiceReq.getComNumField3(), "D3执行问题等级转消息提示层级(公共)-M3约定消息层级为1-5-通用数值字段3（整数型）不能为空", false);
        Assert.isNull(receptionServiceReq.getComNumField4(), "D3执行问题等级转消息提示层级(公共)-M3约定消息层级为1-5-通用数值字段4（整数型）不能为空", false);
        Assert.isNull(receptionServiceReq.getComNumField5(), "D3执行问题等级转消息提示层级(公共)-M3约定消息层级为1-5-通用数值字段5（整数型）不能为空", false);
        receptionServiceRes = nbQuestion.implementGainInParameterFields(receptionServiceReq);


        if ((reqDto != null && reqDto.getQuestionLevel() != null && reqDto.getQuestionLevel().equals("FATAL"))) {
            //if(D3执行问题等级转消息提示层级(公共).问题等级 等于 致命)  54703

//ModelCode: receptionService
            ImplementGainInParameterFieldsRespDto receptionServiceRes_2 = null;
            ImplementGainInParameterFieldsReqDto receptionServiceReq_1 = new ImplementGainInParameterFieldsReqDto();
            if (receptionServiceRes != null) {
                receptionServiceReq_1.setMessageImportantLevel(receptionServiceRes.getComNumField5());//SimpleFieldAssign//sourceId:1358000_1_54709
            }

            /*M3接收消息层级出参[6965]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_1.getMessageImportantLevel(), "D3执行问题等级转消息提示层级(公共)-M3接收消息层级出参-消息重要紧急度层级不能为空", false);
            receptionServiceRes_2 = nbQuestion.implementGainInParameterFields(receptionServiceReq_1);


            receptionServiceRes_3 = receptionServiceRes_2;
        } else if ((reqDto != null && reqDto.getQuestionLevel() != null && reqDto.getQuestionLevel().equals("SERIOUS"))) {
            //elseif(D3执行问题等级转消息提示层级(公共).问题等级 等于 严重)  54704

//ModelCode: receptionService
            ImplementGainInParameterFieldsRespDto receptionServiceRes_4 = null;
            ImplementGainInParameterFieldsReqDto receptionServiceReq_2 = new ImplementGainInParameterFieldsReqDto();
            if (receptionServiceRes != null) {
                receptionServiceReq_2.setMessageImportantLevel(receptionServiceRes.getComNumField4());//SimpleFieldAssign//sourceId:1358000_1_54710
            }

            /*M3接收消息层级出参[6965]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_2.getMessageImportantLevel(), "D3执行问题等级转消息提示层级(公共)-M3接收消息层级出参-消息重要紧急度层级不能为空", false);
            receptionServiceRes_4 = nbQuestion.implementGainInParameterFields(receptionServiceReq_2);


            receptionServiceRes_3 = receptionServiceRes_4;
        } else if ((reqDto != null && reqDto.getQuestionLevel() != null && reqDto.getQuestionLevel().equals("GENERAL"))) {
            //elseif(D3执行问题等级转消息提示层级(公共).问题等级 等于 一般)  54705

//ModelCode: receptionService
            ImplementGainInParameterFieldsRespDto receptionServiceRes_5 = null;
            ImplementGainInParameterFieldsReqDto receptionServiceReq_3 = new ImplementGainInParameterFieldsReqDto();
            if (receptionServiceRes != null) {
                receptionServiceReq_3.setMessageImportantLevel(receptionServiceRes.getComNumField3());//SimpleFieldAssign//sourceId:1358000_1_54711
            }

            /*M3接收消息层级出参[6965]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_3.getMessageImportantLevel(), "D3执行问题等级转消息提示层级(公共)-M3接收消息层级出参-消息重要紧急度层级不能为空", false);
            receptionServiceRes_5 = nbQuestion.implementGainInParameterFields(receptionServiceReq_3);


            receptionServiceRes_3 = receptionServiceRes_5;
        } else if ((reqDto != null && reqDto.getQuestionLevel() != null && reqDto.getQuestionLevel().equals("TINY"))) {
            //elseif(D3执行问题等级转消息提示层级(公共).问题等级 等于 微小)  54706

//ModelCode: receptionService
            ImplementGainInParameterFieldsRespDto receptionServiceRes_6 = null;
            ImplementGainInParameterFieldsReqDto receptionServiceReq_4 = new ImplementGainInParameterFieldsReqDto();
            if (receptionServiceRes != null) {
                receptionServiceReq_4.setMessageImportantLevel(receptionServiceRes.getComNumField2());//SimpleFieldAssign//sourceId:1358000_1_54712
            }

            /*M3接收消息层级出参[6965]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_4.getMessageImportantLevel(), "D3执行问题等级转消息提示层级(公共)-M3接收消息层级出参-消息重要紧急度层级不能为空", false);
            receptionServiceRes_6 = nbQuestion.implementGainInParameterFields(receptionServiceReq_4);


            receptionServiceRes_3 = receptionServiceRes_6;
        }
        ImplementQuestionLevelConvertMsgLevelComRespDto retData = new ImplementQuestionLevelConvertMsgLevelComRespDto();
        if (receptionServiceRes_3 != null) {
            retData.setMessageImportantLevel(receptionServiceRes_3.getMessageImportantLevel());//SimpleFieldAssign//sourceId:1358002_1
        }


        return retData;
    }

    /**
     * D3执行更新问题状态及消息与数量(公共)[8252]
     * gen by moon at 1/26/2024, 4:45:58 AM
     */
    @Trace(operationName = "D3执行更新问题状态及消息与数量(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementUpdateQuestionStatusMsgNumComRespDto implementUpdateQuestionStatusMsgNumCom(ImplementUpdateQuestionStatusMsgNumComReqDto reqDto) {


        //virtualUsage D3-更新问题超时相关(公共)  58239
        RefreshProblemOverdueRelateComRespDto refreshProblemOverdueRelateComRespDto = null;
        RefreshProblemOverdueRelateComReqDto refreshProblemOverdueRelateComReqDto = new RefreshProblemOverdueRelateComReqDto();
        if (reqDto != null) {
            refreshProblemOverdueRelateComReqDto.setStatusBizOptType(reqDto.getStatusBizOptType());//SimpleFieldAssign//sourceId:1462344_1_58239
            refreshProblemOverdueRelateComReqDto.setQuestionId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1462343_1_58239
            refreshProblemOverdueRelateComReqDto.setQuestionStatus(reqDto.getQuestionStatus());//SimpleFieldAssign//sourceId:1464612_1_58239
            refreshProblemOverdueRelateComReqDto.setRemarks(reqDto.getRemarks());//SimpleFieldAssign//sourceId:1464613_1_58239
            refreshProblemOverdueRelateComReqDto.setMessageImportantLevel(reqDto.getMessageImportantLevel());//SimpleFieldAssign//sourceId:1465534_1_58239
            refreshProblemOverdueRelateComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1462345_1_58239
        }

        /*D3-更新问题超时相关(公共)[7833]   */
        Assert.isNull(refreshProblemOverdueRelateComReqDto.getStatusBizOptType(), "D3执行更新问题状态及消息与数量(公共)-D3-更新问题超时相关(公共)-状态业务操作类型不能为空", false);
        Assert.isNull(refreshProblemOverdueRelateComReqDto.getQuestionId(), "D3执行更新问题状态及消息与数量(公共)-D3-更新问题超时相关(公共)-问题ID不能为空", false);
        Assert.isNull(refreshProblemOverdueRelateComReqDto.getSpaceId(), "D3执行更新问题状态及消息与数量(公共)-D3-更新问题超时相关(公共)-创建于空间ID不能为空", false);
        refreshProblemOverdueRelateComRespDto = refreshProblemOverdueRelateCom(refreshProblemOverdueRelateComReqDto)/*vcase invoke 同服务,同domain*/;


//virtualUsage D3执行任务问题状态文案(公共)  58532
        ImplementTaskAndProblemStatusCopywritComRespDto implementTaskAndProblemStatusCopywritComRespDto = null;
        ImplementTaskAndProblemStatusCopywritComReqDto implementTaskAndProblemStatusCopywritComReqDto = new ImplementTaskAndProblemStatusCopywritComReqDto();
        implementTaskAndProblemStatusCopywritComReqDto.setReportAndWorkTaskType("PROBLEM");//sourceId:1467560_1_58532
        if (reqDto != null) {
            implementTaskAndProblemStatusCopywritComReqDto.setEntityId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1467561_1_58532
        }

        /*D3执行任务问题状态文案(公共)[8029]   */
        Assert.isNull(implementTaskAndProblemStatusCopywritComReqDto.getReportAndWorkTaskType(), "D3执行更新问题状态及消息与数量(公共)-D3执行任务问题状态文案(公共)-汇报任务及工作任务对象类型不能为空", false);
        Assert.isNull(implementTaskAndProblemStatusCopywritComReqDto.getEntityId(), "D3执行更新问题状态及消息与数量(公共)-D3执行任务问题状态文案(公共)-内容主键 ID不能为空", false);
        implementTaskAndProblemStatusCopywritComRespDto = workTasksService.implementTaskAndProblemStatusCopywritCom(implementTaskAndProblemStatusCopywritComReqDto)/*vcase invoke isSameApp*/;


        if ((refreshProblemOverdueRelateComRespDto != null && refreshProblemOverdueRelateComRespDto.getSendMsgAndUpdateMsgCount() != null && refreshProblemOverdueRelateComRespDto.getSendMsgAndUpdateMsgCount().equals("SEND_MSG"))) {
            //if(D3-更新问题超时相关(公共).发消息及实时更新消息数量 等于 发消息)  58241

            ImplementWrokContentSendMsgContentPreparationComRespDto implementWrokContentSendMsgContentPreparationComRespDto = null;
            if (refreshProblemOverdueRelateComRespDto != null) {
                ImplementWrokContentSendMsgContentPreparationComReqDto implementWrokContentSendMsgContentPreparationComReqDto = new ImplementWrokContentSendMsgContentPreparationComReqDto();
                implementWrokContentSendMsgContentPreparationComReqDto.setTableTypeCode("OMS_QUESTION");//sourceId:1462408_1_58270
                if (refreshProblemOverdueRelateComRespDto != null) {
                    implementWrokContentSendMsgContentPreparationComReqDto.setSendMsgScene(refreshProblemOverdueRelateComRespDto.getSendMsgScene());//SimpleFieldAssign//sourceId:1462411_1_58270
                    implementWrokContentSendMsgContentPreparationComReqDto.setQuestionIntroduce(refreshProblemOverdueRelateComRespDto.getQuestionIntroduce());//SimpleFieldAssign//sourceId:1462535_1_58270
                }
                if (reqDto != null) {
                    implementWrokContentSendMsgContentPreparationComReqDto.setEntityId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1462409_1_58270
                    implementWrokContentSendMsgContentPreparationComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1462410_1_58270
                }

                /*D3执行问题发消息内容准备(公共)[8256]   */
                Assert.isNull(implementWrokContentSendMsgContentPreparationComReqDto.getSendMsgScene(), "D3执行更新问题状态及消息与数量(公共)-D3执行问题发消息内容准备(公共)-发送消息场景不能为空", false);
                Assert.isNull(implementWrokContentSendMsgContentPreparationComReqDto.getTableTypeCode(), "D3执行更新问题状态及消息与数量(公共)-D3执行问题发消息内容准备(公共)-冗余内容表类型编码不能为空", false);
                Assert.isNull(implementWrokContentSendMsgContentPreparationComReqDto.getEntityId(), "D3执行更新问题状态及消息与数量(公共)-D3执行问题发消息内容准备(公共)-冗余内容表主键ID不能为空", false);
                Assert.isNull(implementWrokContentSendMsgContentPreparationComReqDto.getQuestionIntroduce(), "D3执行更新问题状态及消息与数量(公共)-D3执行问题发消息内容准备(公共)-问题文字简介不能为空", false);
                Assert.isNull(implementWrokContentSendMsgContentPreparationComReqDto.getSpaceId(), "D3执行更新问题状态及消息与数量(公共)-D3执行问题发消息内容准备(公共)-创建于空间ID不能为空", false);
                implementWrokContentSendMsgContentPreparationComRespDto = workTasksService.implementWrokContentSendMsgContentPreparationCom(implementWrokContentSendMsgContentPreparationComReqDto)/*vcase invoke isSameApp*/;


            }
            QueryVirtualOrgMemberInfoDetailComRespDto queryVirtualOrgMemberInfoDetailComRespDto = null;
            QueryVirtualOrgMemberInfoDetailComReqDto queryVirtualOrgMemberInfoDetailComReqDto = new QueryVirtualOrgMemberInfoDetailComReqDto();
            queryVirtualOrgMemberInfoDetailComReqDto.setIsPersonCharge("TRUE");//sourceId:1462421_1_58271
            queryVirtualOrgMemberInfoDetailComReqDto.setUseScene("WORK_TASK_SCENE");//sourceId:1462423_1_58271
            queryVirtualOrgMemberInfoDetailComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1462424_1_58271
            if (reqDto != null) {
                queryVirtualOrgMemberInfoDetailComReqDto.setEntityId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1462420_1_58271
            }

            /*D3查询工作任务负责人姓名[8246]   */
            Assert.isNull(queryVirtualOrgMemberInfoDetailComReqDto.getEntityId(), "D3执行更新问题状态及消息与数量(公共)-D3查询工作任务负责人姓名-冗余内容表主键ID不能为空", false);
            Assert.isNull(queryVirtualOrgMemberInfoDetailComReqDto.getIsPersonCharge(), "D3执行更新问题状态及消息与数量(公共)-D3查询工作任务负责人姓名-是否负责人不能为空", false);
            Assert.isNull(queryVirtualOrgMemberInfoDetailComReqDto.getUseScene(), "D3执行更新问题状态及消息与数量(公共)-D3查询工作任务负责人姓名-虚拟组织使用场景不能为空", false);
            queryVirtualOrgMemberInfoDetailComRespDto = virtualOrgService.queryVirtualOrgMemberInfoDetailCom(queryVirtualOrgMemberInfoDetailComReqDto)/*vcase invoke isSameApp*/;


            ImplementQuestionMsgTitleReceiveVariableComRespDto implementQuestionMsgTitleReceiveVariableComRespDto = null;
            if (queryVirtualOrgMemberInfoDetailComRespDto != null) {
                ImplementQuestionMsgTitleReceiveVariableComReqDto implementQuestionMsgTitleReceiveVariableComReqDto = new ImplementQuestionMsgTitleReceiveVariableComReqDto();
                if (reqDto != null) {
                    implementQuestionMsgTitleReceiveVariableComReqDto.setStatusBizOptType(reqDto.getStatusBizOptType());//SimpleFieldAssign//sourceId:1468185_1_58575
                    implementQuestionMsgTitleReceiveVariableComReqDto.setQuestionStatus(reqDto.getQuestionStatus());//SimpleFieldAssign//sourceId:1468184_1_58575
                }
                if (queryVirtualOrgMemberInfoDetailComRespDto != null) {
                    implementQuestionMsgTitleReceiveVariableComReqDto.setIdCardName(queryVirtualOrgMemberInfoDetailComRespDto.getIdCardName());//SimpleFieldAssign//sourceId:1468186_1_58575
                }

                /*D3执行问题消息标题接收变量(公共)[8266]   */
                Assert.isNull(implementQuestionMsgTitleReceiveVariableComReqDto.getStatusBizOptType(), "D3执行更新问题状态及消息与数量(公共)-D3执行问题消息标题接收变量(公共)-状态业务操作类型不能为空", false);
                implementQuestionMsgTitleReceiveVariableComRespDto = implementQuestionMsgTitleReceiveVariableCom(implementQuestionMsgTitleReceiveVariableComReqDto)/*vcase invoke 同服务,同domain*/;


            }
            ImplementCreateMsgAndNumComRespDto implementCreateMsgAndNumComRespDto = null;
            if (refreshProblemOverdueRelateComRespDto != null && implementWrokContentSendMsgContentPreparationComRespDto != null && implementQuestionMsgTitleReceiveVariableComRespDto != null && queryVirtualOrgMemberInfoDetailComRespDto != null) {
                ImplementCreateMsgAndNumComReqDto implementCreateMsgAndNumComReqDto = new ImplementCreateMsgAndNumComReqDto();
                implementCreateMsgAndNumComReqDto.setMsgAndLocUsageScene("WORK_TASK_SCENE");//sourceId:1462366_1_58269
                implementCreateMsgAndNumComReqDto.setMessageReceiverType("BY_VIRTUAL_ORG_MEM");//sourceId:1462368_1_58269
                implementCreateMsgAndNumComReqDto.setNewTableTypeCode("OMS_QUESTION");//sourceId:1462371_1_58269
                implementCreateMsgAndNumComReqDto.setTableTypeCode("OMS_QUESTION");//sourceId:1462373_1_58269
                implementCreateMsgAndNumComReqDto.setMsgTableTypeCode("OMS_QUESTION");//sourceId:1462385_1_58269
                implementCreateMsgAndNumComReqDto.setPlatformReplace("FALSE");//sourceId:1462402_1_58269
                implementCreateMsgAndNumComReqDto.setMsgChannelClassCode("CONTENT_COMMUNICATION");//sourceId:1462395_1_58269
                implementCreateMsgAndNumComReqDto.setMessageChannelTypeCode("GROUP_SESSION");//sourceId:1462396_1_58269
                implementCreateMsgAndNumComReqDto.setMessageLocationCode("CONTENT_COMMUNICATION");//CUSTOM_CONVENTION//sourceId:1462397_1_58269
                implementCreateMsgAndNumComReqDto.setFirstFieldName("questionIntroduce");//CUSTOM_CONVENTION//sourceId:1462376_1_58269
                implementCreateMsgAndNumComReqDto.setThirdFieldName("idCardName");//CUSTOM_CONVENTION//sourceId:1468187_1_58269
                if (refreshProblemOverdueRelateComRespDto != null) {
                    implementCreateMsgAndNumComReqDto.setSendMsgScene(refreshProblemOverdueRelateComRespDto.getSendMsgScene());//SimpleFieldAssign//sourceId:1462367_1_58269
                    implementCreateMsgAndNumComReqDto.setSendMsgTechnologyMode(refreshProblemOverdueRelateComRespDto.getSendMsgTechnologyMode());//SimpleFieldAssign//sourceId:1462369_1_58269
                    implementCreateMsgAndNumComReqDto.setMessageTemplateCode(refreshProblemOverdueRelateComRespDto.getMessageTemplateCode());//SimpleFieldAssign//sourceId:1462398_1_58269
                    implementCreateMsgAndNumComReqDto.setIsHandle(refreshProblemOverdueRelateComRespDto.getIsHandle());//SimpleFieldAssign//sourceId:1462400_1_58269
                    implementCreateMsgAndNumComReqDto.setHandleType(refreshProblemOverdueRelateComRespDto.getHandleType());//SimpleFieldAssign//sourceId:1462399_1_58269
                    implementCreateMsgAndNumComReqDto.setMessageImportantLevel(refreshProblemOverdueRelateComRespDto.getMessageImportantLevel());//SimpleFieldAssign//sourceId:1462403_1_58269
                    implementCreateMsgAndNumComReqDto.setMsgTitleTemplateSemanticEngineCode(refreshProblemOverdueRelateComRespDto.getMsgTitleTemplateSemanticEngineCode());//SimpleFieldAssign//sourceId:1462382_1_58269
                    implementCreateMsgAndNumComReqDto.setFirstFieldValue(refreshProblemOverdueRelateComRespDto.getQuestionIntroduce());//SimpleFieldAssign//sourceId:1462377_1_58269
                }
                if (reqDto != null) {
                    implementCreateMsgAndNumComReqDto.setRoleCode(reqDto.getRoleCode());//SimpleFieldAssign//sourceId:1477956_1_58269
                    implementCreateMsgAndNumComReqDto.setNewEntityId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1462372_1_58269
                    implementCreateMsgAndNumComReqDto.setEntityId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1462374_1_58269
                    implementCreateMsgAndNumComReqDto.setMsgEntiyId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1462386_1_58269
                    implementCreateMsgAndNumComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1462375_1_58269
                    implementCreateMsgAndNumComReqDto.setAppId(reqDto.getAppId());//SimpleFieldAssign//sourceId:1462387_1_58269
                    implementCreateMsgAndNumComReqDto.setReferenceMessageId(reqDto.getReferenceMessageId());//SimpleFieldAssign//sourceId:1462401_1_58269
                }
                if (implementWrokContentSendMsgContentPreparationComRespDto != null) {
                    implementCreateMsgAndNumComReqDto.setCooperateContentTypeCode(implementWrokContentSendMsgContentPreparationComRespDto.getCooperateContentTypeCode());//SimpleFieldAssign//sourceId:1462390_1_58269
                    implementCreateMsgAndNumComReqDto.setCooperateContentId(implementWrokContentSendMsgContentPreparationComRespDto.getCooperateContentId());//SimpleFieldAssign//sourceId:1462391_1_58269
                    implementCreateMsgAndNumComReqDto.setSurfaceContName(implementWrokContentSendMsgContentPreparationComRespDto.getSurfaceContName());//SimpleFieldAssign//sourceId:1462392_1_58269
                    implementCreateMsgAndNumComReqDto.setMediaType(implementWrokContentSendMsgContentPreparationComRespDto.getMediaType());//SimpleFieldAssign//sourceId:1462393_1_58269
                    implementCreateMsgAndNumComReqDto.setMediaAddress(implementWrokContentSendMsgContentPreparationComRespDto.getMediaAddress());//SimpleFieldAssign//sourceId:1462394_1_58269
                    implementCreateMsgAndNumComReqDto.setThemeContentTypeCode(implementWrokContentSendMsgContentPreparationComRespDto.getThemeContentTypeCode());//SimpleFieldAssign//sourceId:1462388_1_58269
                    implementCreateMsgAndNumComReqDto.setThemeContentId(implementWrokContentSendMsgContentPreparationComRespDto.getThemeContentId());//SimpleFieldAssign//sourceId:1462389_1_58269
                }
                if (implementQuestionMsgTitleReceiveVariableComRespDto != null) {
                    implementCreateMsgAndNumComReqDto.setTitleFieldName(implementQuestionMsgTitleReceiveVariableComRespDto.getFieldName());//SimpleFieldAssign//sourceId:1462383_1_58269
                    implementCreateMsgAndNumComReqDto.setTitleFieldValue(implementQuestionMsgTitleReceiveVariableComRespDto.getFieldValue());//SimpleFieldAssign//sourceId:1462384_1_58269
                    implementCreateMsgAndNumComReqDto.setSecondFieldName(implementQuestionMsgTitleReceiveVariableComRespDto.getFieldName());//SimpleFieldAssign//sourceId:1462378_1_58269
                    implementCreateMsgAndNumComReqDto.setSecondFieldValue(implementQuestionMsgTitleReceiveVariableComRespDto.getFieldValue());//SimpleFieldAssign//sourceId:1462379_1_58269
                }
                if (queryVirtualOrgMemberInfoDetailComRespDto != null) {
                    implementCreateMsgAndNumComReqDto.setThirdFieldValue(queryVirtualOrgMemberInfoDetailComRespDto.getIdCardName());//SimpleFieldAssign//sourceId:1468188_1_58269
                }

                /*D3执行生成消息及数量(公共)[8243]   */
                Assert.isNull(implementCreateMsgAndNumComReqDto.getMsgAndLocUsageScene(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-消息及位置使用场景不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getSendMsgScene(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-发送消息场景不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getMessageReceiverType(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-消息接收方类型不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getSendMsgTechnologyMode(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-发送消息技术模型不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getNewTableTypeCode(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-通道归属主体内容类型编码不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getNewEntityId(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-通道归属主体内容ID不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getTableTypeCode(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-小圈子内容表类型编码不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getEntityId(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-小圈子内容表主键ID不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getMsgTableTypeCode(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-消息内容表类型编码不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getMsgEntiyId(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-消息内容表主键ID不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getSpaceId(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-创建于空间ID不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getAppId(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-创建于联盟应用ID不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getPlatformReplace(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-是否平台代操作不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getMsgChannelClassCode(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-消息使用通道类别不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getMessageChannelTypeCode(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-通道类型编码不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getMessageLocationCode(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-消息位置标识不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getMessageTemplateCode(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-消息模板标识不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getHandleType(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-处理类型不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getMessageImportantLevel(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-消息重要紧急度层级不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getTitleFieldName(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-标题字段字段名不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getTitleFieldValue(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-标题字段字段值不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getFirstFieldName(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-第一个字段字段名不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getFirstFieldValue(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-第一个字段字段值不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getSecondFieldName(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-第二个字段字段名不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getSecondFieldValue(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-第二个字段字段值不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getThirdFieldName(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-第三个字段字段名不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getThirdFieldValue(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-第三个字段字段值不能为空", false);
                implementCreateMsgAndNumComRespDto = messageService.implementCreateMsgAndNumCom(implementCreateMsgAndNumComReqDto)/*vcase invoke isSameApp*/;


            }
        } else if ((refreshProblemOverdueRelateComRespDto != null && refreshProblemOverdueRelateComRespDto.getSendMsgAndUpdateMsgCount() != null && refreshProblemOverdueRelateComRespDto.getSendMsgAndUpdateMsgCount().equals("UPDATE_LOC"))) {
            //elseif(D3-更新问题超时相关(公共).发消息及实时更新消息数量 等于 更新状态消息数量及推 topic)  58243

            QueryVirtualOrgMemberDeduplicationPersonnelListComRespDto queryVirtualOrgMemberDeduplicationPersonnelListComRespDto = null;
            QueryVirtualOrgMemberDeduplicationPersonnelListComReqDto queryVirtualOrgMemberDeduplicationPersonnelListComReqDto = new QueryVirtualOrgMemberDeduplicationPersonnelListComReqDto();
            queryVirtualOrgMemberDeduplicationPersonnelListComReqDto.setUseScene("WORK_TASK_SCENE");//sourceId:1462433_1_58265
            if (reqDto != null) {
                queryVirtualOrgMemberDeduplicationPersonnelListComReqDto.setEntityId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1462432_1_58265
            }

            /*D3查询小圈子去重后人员列表(用于推Topic)[8257]   */
            Assert.isNull(queryVirtualOrgMemberDeduplicationPersonnelListComReqDto.getEntityId(), "D3执行更新问题状态及消息与数量(公共)-D3查询小圈子去重后人员列表(用于推Topic)-冗余内容表主键ID不能为空", false);
            Assert.isNull(queryVirtualOrgMemberDeduplicationPersonnelListComReqDto.getUseScene(), "D3执行更新问题状态及消息与数量(公共)-D3查询小圈子去重后人员列表(用于推Topic)-虚拟组织使用场景不能为空", false);
            queryVirtualOrgMemberDeduplicationPersonnelListComRespDto = virtualOrgService.queryVirtualOrgMemberDeduplicationPersonnelListCom(queryVirtualOrgMemberDeduplicationPersonnelListComReqDto)/*vcase invoke isSameApp*/;


            ImplementProblemPositionMsgHandleNewComRespDto implementProblemPositionMsgHandleNewComRespDto = null;
            if (refreshProblemOverdueRelateComRespDto != null) {
                ImplementProblemPositionMsgHandleNewComReqDto implementProblemPositionMsgHandleNewComReqDto = new ImplementProblemPositionMsgHandleNewComReqDto();
                implementProblemPositionMsgHandleNewComReqDto.setWorkTaskObjectType("PROBLEM");//sourceId:1462406_1_58266
                if (reqDto != null) {
                    implementProblemPositionMsgHandleNewComReqDto.setWorkTaskObjectId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1462407_1_58266
                }
                if (refreshProblemOverdueRelateComRespDto != null) {
                    implementProblemPositionMsgHandleNewComReqDto.setSendMsgScene(refreshProblemOverdueRelateComRespDto.getSendMsgScene());//SimpleFieldAssign//sourceId:1462560_1_58266
                }

                /*D3-执行问题位置消息处理（新）(公共)[8084]   */
                Assert.isNull(implementProblemPositionMsgHandleNewComReqDto.getWorkTaskObjectType(), "D3执行更新问题状态及消息与数量(公共)-D3-执行问题位置消息处理（新）(公共)-工作任务对象类型不能为空", false);
                Assert.isNull(implementProblemPositionMsgHandleNewComReqDto.getWorkTaskObjectId(), "D3执行更新问题状态及消息与数量(公共)-D3-执行问题位置消息处理（新）(公共)-工作任务对象ID不能为空", false);
                Assert.isNull(implementProblemPositionMsgHandleNewComReqDto.getSendMsgScene(), "D3执行更新问题状态及消息与数量(公共)-D3-执行问题位置消息处理（新）(公共)-发送消息场景不能为空", false);
                implementProblemPositionMsgHandleNewComRespDto = messageService.implementProblemPositionMsgHandleNewCom(implementProblemPositionMsgHandleNewComReqDto)/*vcase invoke isSameApp*/;


            }
            ImplementLoopHandleReportTaskLocationMessagesPushComRespDto implementLoopHandleReportTaskLocationMessagesPushComRespDto = null;
            if (queryVirtualOrgMemberDeduplicationPersonnelListComRespDto != null) {
                ImplementLoopHandleReportTaskLocationMessagesPushComReqDto implementLoopHandleReportTaskLocationMessagesPushComReqDto = new ImplementLoopHandleReportTaskLocationMessagesPushComReqDto();
                implementLoopHandleReportTaskLocationMessagesPushComReqDto.setSurfaceCode("OMS_QUESTION");//sourceId:1509041_1_58267
                if (queryVirtualOrgMemberDeduplicationPersonnelListComRespDto != null && queryVirtualOrgMemberDeduplicationPersonnelListComRespDto.getVirtualOrgMemberList() != null && !CollectionUtil.isEmpty(queryVirtualOrgMemberDeduplicationPersonnelListComRespDto.getVirtualOrgMemberList())) {
                    implementLoopHandleReportTaskLocationMessagesPushComReqDto.setMemberMsgReceiveList(queryVirtualOrgMemberDeduplicationPersonnelListComRespDto.getVirtualOrgMemberList().stream().map(item -> BeanUtil.toBean(item, MemberMsgReceiveDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1462404_1_58267
                }
                if (reqDto != null) {
                    implementLoopHandleReportTaskLocationMessagesPushComReqDto.setEntityId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1509042_1_58267
                }

                /*D2-执行循环处理成员位置推送(公共)[7602]   */
                Assert.isNull(implementLoopHandleReportTaskLocationMessagesPushComReqDto.getSurfaceCode(), "D3执行更新问题状态及消息与数量(公共)-D2-执行循环处理成员位置推送(公共)-归属内容类型编码不能为空", false);
                Assert.isNull(implementLoopHandleReportTaskLocationMessagesPushComReqDto.getEntityId(), "D3执行更新问题状态及消息与数量(公共)-D2-执行循环处理成员位置推送(公共)-归属内容ID不能为空", false);
                implementLoopHandleReportTaskLocationMessagesPushComRespDto = fwCompMessageClient.implementLoopHandleReportTaskLocationMessagesPushCom(implementLoopHandleReportTaskLocationMessagesPushComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            }
        } else if ((refreshProblemOverdueRelateComRespDto != null && refreshProblemOverdueRelateComRespDto.getSendMsgAndUpdateMsgCount() != null && refreshProblemOverdueRelateComRespDto.getSendMsgAndUpdateMsgCount().equals("UPDATE_LOC_AND_SEND_MSG"))) {
            //elseif(D3-更新问题超时相关(公共).发消息及实时更新消息数量 等于 更新状态数量及发消息)  58245

            ImplementWrokContentSendMsgContentPreparationComRespDto implementWrokContentSendMsgContentPreparationComRespDto_2 = null;
            if (refreshProblemOverdueRelateComRespDto != null) {
                ImplementWrokContentSendMsgContentPreparationComReqDto implementWrokContentSendMsgContentPreparationComReqDto_1 = new ImplementWrokContentSendMsgContentPreparationComReqDto();
                implementWrokContentSendMsgContentPreparationComReqDto_1.setTableTypeCode("OMS_QUESTION");//sourceId:1462408_1_58251
                if (refreshProblemOverdueRelateComRespDto != null) {
                    implementWrokContentSendMsgContentPreparationComReqDto_1.setSendMsgScene(refreshProblemOverdueRelateComRespDto.getSendMsgScene());//SimpleFieldAssign//sourceId:1462411_1_58251
                    implementWrokContentSendMsgContentPreparationComReqDto_1.setQuestionIntroduce(refreshProblemOverdueRelateComRespDto.getQuestionIntroduce());//SimpleFieldAssign//sourceId:1462535_1_58251
                }
                if (reqDto != null) {
                    implementWrokContentSendMsgContentPreparationComReqDto_1.setEntityId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1462409_1_58251
                    implementWrokContentSendMsgContentPreparationComReqDto_1.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1462410_1_58251
                }

                /*D3执行问题发消息内容准备(公共)[8256]   */
                Assert.isNull(implementWrokContentSendMsgContentPreparationComReqDto_1.getSendMsgScene(), "D3执行更新问题状态及消息与数量(公共)-D3执行问题发消息内容准备(公共)-发送消息场景不能为空", false);
                Assert.isNull(implementWrokContentSendMsgContentPreparationComReqDto_1.getTableTypeCode(), "D3执行更新问题状态及消息与数量(公共)-D3执行问题发消息内容准备(公共)-冗余内容表类型编码不能为空", false);
                Assert.isNull(implementWrokContentSendMsgContentPreparationComReqDto_1.getEntityId(), "D3执行更新问题状态及消息与数量(公共)-D3执行问题发消息内容准备(公共)-冗余内容表主键ID不能为空", false);
                Assert.isNull(implementWrokContentSendMsgContentPreparationComReqDto_1.getQuestionIntroduce(), "D3执行更新问题状态及消息与数量(公共)-D3执行问题发消息内容准备(公共)-问题文字简介不能为空", false);
                Assert.isNull(implementWrokContentSendMsgContentPreparationComReqDto_1.getSpaceId(), "D3执行更新问题状态及消息与数量(公共)-D3执行问题发消息内容准备(公共)-创建于空间ID不能为空", false);
                implementWrokContentSendMsgContentPreparationComRespDto_2 = workTasksService.implementWrokContentSendMsgContentPreparationCom(implementWrokContentSendMsgContentPreparationComReqDto_1)/*vcase invoke isSameApp*/;


            }
            QueryVirtualOrgMemberInfoDetailComRespDto queryVirtualOrgMemberInfoDetailComRespDto_2 = null;
            QueryVirtualOrgMemberInfoDetailComReqDto queryVirtualOrgMemberInfoDetailComReqDto_1 = new QueryVirtualOrgMemberInfoDetailComReqDto();
            queryVirtualOrgMemberInfoDetailComReqDto_1.setIsPersonCharge("TRUE");//sourceId:1462421_1_58262
            queryVirtualOrgMemberInfoDetailComReqDto_1.setUseScene("WORK_TASK_SCENE");//sourceId:1462423_1_58262
            queryVirtualOrgMemberInfoDetailComReqDto_1.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1462424_1_58262
            if (reqDto != null) {
                queryVirtualOrgMemberInfoDetailComReqDto_1.setEntityId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1462420_1_58262
            }

            /*D3查询工作任务负责人姓名[8246]   */
            Assert.isNull(queryVirtualOrgMemberInfoDetailComReqDto_1.getEntityId(), "D3执行更新问题状态及消息与数量(公共)-D3查询工作任务负责人姓名-冗余内容表主键ID不能为空", false);
            Assert.isNull(queryVirtualOrgMemberInfoDetailComReqDto_1.getIsPersonCharge(), "D3执行更新问题状态及消息与数量(公共)-D3查询工作任务负责人姓名-是否负责人不能为空", false);
            Assert.isNull(queryVirtualOrgMemberInfoDetailComReqDto_1.getUseScene(), "D3执行更新问题状态及消息与数量(公共)-D3查询工作任务负责人姓名-虚拟组织使用场景不能为空", false);
            queryVirtualOrgMemberInfoDetailComRespDto_2 = virtualOrgService.queryVirtualOrgMemberInfoDetailCom(queryVirtualOrgMemberInfoDetailComReqDto_1)/*vcase invoke isSameApp*/;


            ImplementQuestionMsgTitleReceiveVariableComRespDto implementQuestionMsgTitleReceiveVariableComRespDto_2 = null;
            if (queryVirtualOrgMemberInfoDetailComRespDto_2 != null) {
                ImplementQuestionMsgTitleReceiveVariableComReqDto implementQuestionMsgTitleReceiveVariableComReqDto_1 = new ImplementQuestionMsgTitleReceiveVariableComReqDto();
                if (reqDto != null) {
                    implementQuestionMsgTitleReceiveVariableComReqDto_1.setStatusBizOptType(reqDto.getStatusBizOptType());//SimpleFieldAssign//sourceId:1468185_1_58576
                    implementQuestionMsgTitleReceiveVariableComReqDto_1.setQuestionStatus(reqDto.getQuestionStatus());//SimpleFieldAssign//sourceId:1468184_1_58576
                }
                if (queryVirtualOrgMemberInfoDetailComRespDto_2 != null) {
                    implementQuestionMsgTitleReceiveVariableComReqDto_1.setIdCardName(queryVirtualOrgMemberInfoDetailComRespDto_2.getIdCardName());//SimpleFieldAssign//sourceId:1468186_1_58576
                }

                /*D3执行问题消息标题接收变量(公共)[8266]   */
                Assert.isNull(implementQuestionMsgTitleReceiveVariableComReqDto_1.getStatusBizOptType(), "D3执行更新问题状态及消息与数量(公共)-D3执行问题消息标题接收变量(公共)-状态业务操作类型不能为空", false);
                implementQuestionMsgTitleReceiveVariableComRespDto_2 = implementQuestionMsgTitleReceiveVariableCom(implementQuestionMsgTitleReceiveVariableComReqDto_1)/*vcase invoke 同服务,同domain*/;


            }
            ImplementProblemPositionMsgHandleNewComRespDto implementProblemPositionMsgHandleNewComRespDto_1 = null;
            if (refreshProblemOverdueRelateComRespDto != null) {
                ImplementProblemPositionMsgHandleNewComReqDto implementProblemPositionMsgHandleNewComReqDto_1 = new ImplementProblemPositionMsgHandleNewComReqDto();
                implementProblemPositionMsgHandleNewComReqDto_1.setWorkTaskObjectType("PROBLEM");//sourceId:1462406_1_58263
                if (reqDto != null) {
                    implementProblemPositionMsgHandleNewComReqDto_1.setWorkTaskObjectId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1462407_1_58263
                }
                if (refreshProblemOverdueRelateComRespDto != null) {
                    implementProblemPositionMsgHandleNewComReqDto_1.setSendMsgScene(refreshProblemOverdueRelateComRespDto.getSendMsgScene());//SimpleFieldAssign//sourceId:1462560_1_58263
                }

                /*D3-执行问题位置消息处理（新）(公共)[8084]   */
                Assert.isNull(implementProblemPositionMsgHandleNewComReqDto_1.getWorkTaskObjectType(), "D3执行更新问题状态及消息与数量(公共)-D3-执行问题位置消息处理（新）(公共)-工作任务对象类型不能为空", false);
                Assert.isNull(implementProblemPositionMsgHandleNewComReqDto_1.getWorkTaskObjectId(), "D3执行更新问题状态及消息与数量(公共)-D3-执行问题位置消息处理（新）(公共)-工作任务对象ID不能为空", false);
                Assert.isNull(implementProblemPositionMsgHandleNewComReqDto_1.getSendMsgScene(), "D3执行更新问题状态及消息与数量(公共)-D3-执行问题位置消息处理（新）(公共)-发送消息场景不能为空", false);
                implementProblemPositionMsgHandleNewComRespDto_1 = messageService.implementProblemPositionMsgHandleNewCom(implementProblemPositionMsgHandleNewComReqDto_1)/*vcase invoke isSameApp*/;


            }
            ImplementCreateMsgAndNumComRespDto implementCreateMsgAndNumComRespDto_1 = null;
            if (refreshProblemOverdueRelateComRespDto != null && implementWrokContentSendMsgContentPreparationComRespDto_2 != null && implementQuestionMsgTitleReceiveVariableComRespDto_2 != null && queryVirtualOrgMemberInfoDetailComRespDto_2 != null) {
                ImplementCreateMsgAndNumComReqDto implementCreateMsgAndNumComReqDto_1 = new ImplementCreateMsgAndNumComReqDto();
                implementCreateMsgAndNumComReqDto_1.setMsgAndLocUsageScene("WORK_TASK_SCENE");//sourceId:1462366_1_58264
                implementCreateMsgAndNumComReqDto_1.setMessageReceiverType("BY_VIRTUAL_ORG_MEM");//sourceId:1462368_1_58264
                implementCreateMsgAndNumComReqDto_1.setNewTableTypeCode("OMS_QUESTION");//sourceId:1462371_1_58264
                implementCreateMsgAndNumComReqDto_1.setTableTypeCode("OMS_QUESTION");//sourceId:1462373_1_58264
                implementCreateMsgAndNumComReqDto_1.setMsgTableTypeCode("OMS_QUESTION");//sourceId:1462385_1_58264
                implementCreateMsgAndNumComReqDto_1.setPlatformReplace("FALSE");//sourceId:1462402_1_58264
                implementCreateMsgAndNumComReqDto_1.setMsgChannelClassCode("CONTENT_COMMUNICATION");//sourceId:1462395_1_58264
                implementCreateMsgAndNumComReqDto_1.setMessageChannelTypeCode("GROUP_SESSION");//sourceId:1462396_1_58264
                implementCreateMsgAndNumComReqDto_1.setMessageLocationCode("CONTENT_COMMUNICATION");//CUSTOM_CONVENTION//sourceId:1462397_1_58264
                implementCreateMsgAndNumComReqDto_1.setFirstFieldName("questionIntroduce");//CUSTOM_CONVENTION//sourceId:1462376_1_58264
                implementCreateMsgAndNumComReqDto_1.setThirdFieldName("idCardName");//CUSTOM_CONVENTION//sourceId:1468187_1_58264
                if (refreshProblemOverdueRelateComRespDto != null) {
                    implementCreateMsgAndNumComReqDto_1.setSendMsgScene(refreshProblemOverdueRelateComRespDto.getSendMsgScene());//SimpleFieldAssign//sourceId:1462367_1_58264
                    implementCreateMsgAndNumComReqDto_1.setSendMsgTechnologyMode(refreshProblemOverdueRelateComRespDto.getSendMsgTechnologyMode());//SimpleFieldAssign//sourceId:1462369_1_58264
                    implementCreateMsgAndNumComReqDto_1.setMessageTemplateCode(refreshProblemOverdueRelateComRespDto.getMessageTemplateCode());//SimpleFieldAssign//sourceId:1462398_1_58264
                    implementCreateMsgAndNumComReqDto_1.setIsHandle(refreshProblemOverdueRelateComRespDto.getIsHandle());//SimpleFieldAssign//sourceId:1462400_1_58264
                    implementCreateMsgAndNumComReqDto_1.setHandleType(refreshProblemOverdueRelateComRespDto.getHandleType());//SimpleFieldAssign//sourceId:1462399_1_58264
                    implementCreateMsgAndNumComReqDto_1.setMessageImportantLevel(refreshProblemOverdueRelateComRespDto.getMessageImportantLevel());//SimpleFieldAssign//sourceId:1462403_1_58264
                    implementCreateMsgAndNumComReqDto_1.setMsgTitleTemplateSemanticEngineCode(refreshProblemOverdueRelateComRespDto.getMsgTitleTemplateSemanticEngineCode());//SimpleFieldAssign//sourceId:1462382_1_58264
                    implementCreateMsgAndNumComReqDto_1.setFirstFieldValue(refreshProblemOverdueRelateComRespDto.getQuestionIntroduce());//SimpleFieldAssign//sourceId:1462377_1_58264
                }
                if (reqDto != null) {
                    implementCreateMsgAndNumComReqDto_1.setRoleCode(reqDto.getRoleCode());//SimpleFieldAssign//sourceId:1477956_1_58264
                    implementCreateMsgAndNumComReqDto_1.setNewEntityId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1462372_1_58264
                    implementCreateMsgAndNumComReqDto_1.setEntityId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1462374_1_58264
                    implementCreateMsgAndNumComReqDto_1.setMsgEntiyId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1462386_1_58264
                    implementCreateMsgAndNumComReqDto_1.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1462375_1_58264
                    implementCreateMsgAndNumComReqDto_1.setAppId(reqDto.getAppId());//SimpleFieldAssign//sourceId:1462387_1_58264
                    implementCreateMsgAndNumComReqDto_1.setReferenceMessageId(reqDto.getReferenceMessageId());//SimpleFieldAssign//sourceId:1462401_1_58264
                }
                if (implementWrokContentSendMsgContentPreparationComRespDto_2 != null) {
                    implementCreateMsgAndNumComReqDto_1.setCooperateContentTypeCode(implementWrokContentSendMsgContentPreparationComRespDto_2.getCooperateContentTypeCode());//SimpleFieldAssign//sourceId:1462390_1_58264
                    implementCreateMsgAndNumComReqDto_1.setCooperateContentId(implementWrokContentSendMsgContentPreparationComRespDto_2.getCooperateContentId());//SimpleFieldAssign//sourceId:1462391_1_58264
                    implementCreateMsgAndNumComReqDto_1.setSurfaceContName(implementWrokContentSendMsgContentPreparationComRespDto_2.getSurfaceContName());//SimpleFieldAssign//sourceId:1462392_1_58264
                    implementCreateMsgAndNumComReqDto_1.setMediaType(implementWrokContentSendMsgContentPreparationComRespDto_2.getMediaType());//SimpleFieldAssign//sourceId:1462393_1_58264
                    implementCreateMsgAndNumComReqDto_1.setMediaAddress(implementWrokContentSendMsgContentPreparationComRespDto_2.getMediaAddress());//SimpleFieldAssign//sourceId:1462394_1_58264
                    implementCreateMsgAndNumComReqDto_1.setThemeContentTypeCode(implementWrokContentSendMsgContentPreparationComRespDto_2.getThemeContentTypeCode());//SimpleFieldAssign//sourceId:1462388_1_58264
                    implementCreateMsgAndNumComReqDto_1.setThemeContentId(implementWrokContentSendMsgContentPreparationComRespDto_2.getThemeContentId());//SimpleFieldAssign//sourceId:1462389_1_58264
                }
                if (implementQuestionMsgTitleReceiveVariableComRespDto_2 != null) {
                    implementCreateMsgAndNumComReqDto_1.setTitleFieldName(implementQuestionMsgTitleReceiveVariableComRespDto_2.getFieldName());//SimpleFieldAssign//sourceId:1462383_1_58264
                    implementCreateMsgAndNumComReqDto_1.setTitleFieldValue(implementQuestionMsgTitleReceiveVariableComRespDto_2.getFieldValue());//SimpleFieldAssign//sourceId:1462384_1_58264
                    implementCreateMsgAndNumComReqDto_1.setSecondFieldName(implementQuestionMsgTitleReceiveVariableComRespDto_2.getFieldName());//SimpleFieldAssign//sourceId:1462378_1_58264
                    implementCreateMsgAndNumComReqDto_1.setSecondFieldValue(implementQuestionMsgTitleReceiveVariableComRespDto_2.getFieldValue());//SimpleFieldAssign//sourceId:1462379_1_58264
                }
                if (queryVirtualOrgMemberInfoDetailComRespDto_2 != null) {
                    implementCreateMsgAndNumComReqDto_1.setThirdFieldValue(queryVirtualOrgMemberInfoDetailComRespDto_2.getIdCardName());//SimpleFieldAssign//sourceId:1468188_1_58264
                }

                /*D3执行生成消息及数量(公共)[8243]   */
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getMsgAndLocUsageScene(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-消息及位置使用场景不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getSendMsgScene(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-发送消息场景不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getMessageReceiverType(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-消息接收方类型不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getSendMsgTechnologyMode(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-发送消息技术模型不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getNewTableTypeCode(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-通道归属主体内容类型编码不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getNewEntityId(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-通道归属主体内容ID不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getTableTypeCode(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-小圈子内容表类型编码不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getEntityId(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-小圈子内容表主键ID不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getMsgTableTypeCode(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-消息内容表类型编码不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getMsgEntiyId(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-消息内容表主键ID不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getSpaceId(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-创建于空间ID不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getAppId(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-创建于联盟应用ID不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getPlatformReplace(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-是否平台代操作不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getMsgChannelClassCode(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-消息使用通道类别不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getMessageChannelTypeCode(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-通道类型编码不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getMessageLocationCode(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-消息位置标识不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getMessageTemplateCode(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-消息模板标识不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getHandleType(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-处理类型不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getMessageImportantLevel(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-消息重要紧急度层级不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getTitleFieldName(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-标题字段字段名不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getTitleFieldValue(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-标题字段字段值不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getFirstFieldName(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-第一个字段字段名不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getFirstFieldValue(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-第一个字段字段值不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getSecondFieldName(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-第二个字段字段名不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getSecondFieldValue(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-第二个字段字段值不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getThirdFieldName(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-第三个字段字段名不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getThirdFieldValue(), "D3执行更新问题状态及消息与数量(公共)-D3执行生成消息及数量(公共)-第三个字段字段值不能为空", false);
                implementCreateMsgAndNumComRespDto_1 = messageService.implementCreateMsgAndNumCom(implementCreateMsgAndNumComReqDto_1)/*vcase invoke isSameApp*/;


            }
        }
        ImplementUpdateQuestionStatusMsgNumComRespDto retData = new ImplementUpdateQuestionStatusMsgNumComRespDto();


        return retData;
    }

    /**
     * D3分析问题状态业务操作类型(公共)[8261]
     * gen by moon at 1/2/2024, 8:28:08 AM
     */
    @Trace(operationName = "D3分析问题状态业务操作类型(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AnalysisQuestionStatusBizOptTypeComRespDto analysisQuestionStatusBizOptTypeCom(AnalysisQuestionStatusBizOptTypeComReqDto reqDto) {


        ImplementAcceptFieldUseWorkTaskRespDto receptionServiceRes_3 = null;
        if ((reqDto != null && reqDto.getQuestionStatus() != null && reqDto.getQuestionStatus().equals("QUESTIONABILITY"))) {
            //if(D3分析问题状态业务操作类型(公共).问题状态 等于 待解决)  58436

//ModelCode: receptionService
            ImplementAcceptFieldUseWorkTaskRespDto receptionServiceRes = null;
            ImplementAcceptFieldUseWorkTaskReqDto receptionServiceReq = new ImplementAcceptFieldUseWorkTaskReqDto();
            receptionServiceReq.setStatusBizOptType("OTHER_STATUS_PROBLEM_TO_SOLVE");//sourceId:1465553_1_58440

            /*M3约定其他状态问题转待解决[8165]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq.getStatusBizOptType(), "D3分析问题状态业务操作类型(公共)-M3约定其他状态问题转待解决-状态业务操作类型不能为空", false);
            receptionServiceRes = nbQuestion.implementAcceptFieldUseWorkTask(receptionServiceReq);


//ModelCode: receptionService
            ImplementAcceptFieldUseWorkTaskRespDto receptionServiceRes_2 = null;
            ImplementAcceptFieldUseWorkTaskReqDto receptionServiceReq_1 = new ImplementAcceptFieldUseWorkTaskReqDto();
            if (receptionServiceRes != null) {
                receptionServiceReq_1.setStatusBizOptType(receptionServiceRes.getStatusBizOptType());//SimpleFieldAssign//sourceId:1465555_1_58443
            }

            /*M3接收状态业务操作类型出参[8165]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_1.getStatusBizOptType(), "D3分析问题状态业务操作类型(公共)-M3接收状态业务操作类型出参-状态业务操作类型不能为空", false);
            receptionServiceRes_2 = nbQuestion.implementAcceptFieldUseWorkTask(receptionServiceReq_1);


            receptionServiceRes_3 = receptionServiceRes_2;
        } else if ((reqDto != null && reqDto.getQuestionStatus() != null && reqDto.getQuestionStatus().equals("RESOLVED") || reqDto != null && reqDto.getQuestionStatus() != null && reqDto.getQuestionStatus().equals("REJECTED") || reqDto != null && reqDto.getQuestionStatus() != null && reqDto.getQuestionStatus().equals("SUSPENDED") || reqDto != null && reqDto.getQuestionStatus() != null && reqDto.getQuestionStatus().equals("CLOSED") || reqDto != null && reqDto.getQuestionStatus() != null && reqDto.getQuestionStatus().equals("SHELVE"))) {
            //elseif((D3分析问题状态业务操作类型(公共).问题状态 等于 已解决 or D3分析问题状态业务操作类型(公共).问题状态 等于 已拒绝 or D3分析问题状态业务操作类型(公共).问题状态 等于 已挂起 or D3分析问题状态业务操作类型(公共).问题状态 等于 已关闭 or D3分析问题状态业务操作类型(公共).问题状态 等于 暂搁置))  58437

//ModelCode: receptionService
            ImplementAcceptFieldUseWorkTaskRespDto receptionServiceRes_4 = null;
            ImplementAcceptFieldUseWorkTaskReqDto receptionServiceReq_2 = new ImplementAcceptFieldUseWorkTaskReqDto();
            receptionServiceReq_2.setStatusBizOptType("SOLVE_PROBLEM_QTA_TO_OTHER");//sourceId:1465550_1_58439

            /*M3约定待解决或已超时问题转其他状态[8165]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_2.getStatusBizOptType(), "D3分析问题状态业务操作类型(公共)-M3约定待解决或已超时问题转其他状态-状态业务操作类型不能为空", false);
            receptionServiceRes_4 = nbQuestion.implementAcceptFieldUseWorkTask(receptionServiceReq_2);


//ModelCode: receptionService
            ImplementAcceptFieldUseWorkTaskRespDto receptionServiceRes_6 = null;
            ImplementAcceptFieldUseWorkTaskReqDto receptionServiceReq_3 = new ImplementAcceptFieldUseWorkTaskReqDto();
            if (receptionServiceRes_4 != null) {
                receptionServiceReq_3.setStatusBizOptType(receptionServiceRes_4.getStatusBizOptType());//SimpleFieldAssign//sourceId:1465555_1_58444
            }

            /*M3接收状态业务操作类型出参[8165]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_3.getStatusBizOptType(), "D3分析问题状态业务操作类型(公共)-M3接收状态业务操作类型出参-状态业务操作类型不能为空", false);
            receptionServiceRes_6 = nbQuestion.implementAcceptFieldUseWorkTask(receptionServiceReq_3);


            receptionServiceRes_3 = receptionServiceRes_6;
        }
        AnalysisQuestionStatusBizOptTypeComRespDto retData = new AnalysisQuestionStatusBizOptTypeComRespDto();
        if (receptionServiceRes_3 != null) {
            retData.setStatusBizOptType(receptionServiceRes_3.getStatusBizOptType());//SimpleFieldAssign//sourceId:1465580_1
        }


        return retData;
    }

    /**
     * D3执行问题消息标题接收变量(公共)[8266]
     * gen by moon at 1/3/2024, 5:01:31 AM
     */
    @Trace(operationName = "D3执行问题消息标题接收变量(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementQuestionMsgTitleReceiveVariableComRespDto implementQuestionMsgTitleReceiveVariableCom(ImplementQuestionMsgTitleReceiveVariableComReqDto reqDto) {


        ImplementFourthReceivingFieldRespDto receptionServiceRes_3 = null;
//virtualUsage M3-约定：问题状态  58562
        //ModelCode: receptionService
        ImplementFourthReceivingFieldRespDto receptionServiceRes = null;
        ImplementFourthReceivingFieldReqDto receptionServiceReq = new ImplementFourthReceivingFieldReqDto();
        receptionServiceReq.setCustomField1("暂搁置");//CUSTOM_CONVENTION//sourceId:1468143_1_58562
        receptionServiceReq.setCustomField2("已拒绝");//CUSTOM_CONVENTION//sourceId:1468144_1_58562
        receptionServiceReq.setCustomField3("已挂起");//CUSTOM_CONVENTION//sourceId:1468145_1_58562
        receptionServiceReq.setCustomField4("已关闭");//CUSTOM_CONVENTION//sourceId:1468146_1_58562
        receptionServiceReq.setCustomField5("已解决");//CUSTOM_CONVENTION//sourceId:1468157_1_58562
        receptionServiceReq.setFirstFieldName("idCardName");//CUSTOM_CONVENTION//sourceId:1468178_1_58562
        receptionServiceReq.setSecondFieldName("questionStatusName");//CUSTOM_CONVENTION//sourceId:1468179_1_58562

        /*M3-约定：问题状态[8259]  用于特殊方法接收上游入参。 */
        Assert.isNull(receptionServiceReq.getCustomField1(), "D3执行问题消息标题接收变量(公共)-M3-约定：问题状态-自定义字段1不能为空", false);
        Assert.isNull(receptionServiceReq.getCustomField2(), "D3执行问题消息标题接收变量(公共)-M3-约定：问题状态-自定义字段2不能为空", false);
        Assert.isNull(receptionServiceReq.getCustomField3(), "D3执行问题消息标题接收变量(公共)-M3-约定：问题状态-自定义字段3不能为空", false);
        Assert.isNull(receptionServiceReq.getCustomField4(), "D3执行问题消息标题接收变量(公共)-M3-约定：问题状态-自定义字段4不能为空", false);
        Assert.isNull(receptionServiceReq.getCustomField5(), "D3执行问题消息标题接收变量(公共)-M3-约定：问题状态-自定义字段5不能为空", false);
        Assert.isNull(receptionServiceReq.getFirstFieldName(), "D3执行问题消息标题接收变量(公共)-M3-约定：问题状态-第一个字段字段名不能为空", false);
        Assert.isNull(receptionServiceReq.getSecondFieldName(), "D3执行问题消息标题接收变量(公共)-M3-约定：问题状态-第二个字段字段名不能为空", false);
        receptionServiceRes = nbQuestion.implementFourthReceivingField(receptionServiceReq);


        if ((reqDto != null && reqDto.getStatusBizOptType() != null && reqDto.getStatusBizOptType().equals("SOLVE_PROBLEM_QTA_TO_OTHER"))) {
            //if(D3执行问题消息标题接收变量(公共).状态业务操作类型 等于 待解决或已超时问题转其他状态)  58558

            if ((reqDto != null && reqDto.getQuestionStatus() != null && reqDto.getQuestionStatus().equals("SHELVE"))) {
                //if(D3执行问题消息标题接收变量(公共).问题状态 等于 暂搁置)  58563

//ModelCode: receptionService
                ImplementFourthReceivingFieldRespDto receptionServiceRes_2 = null;
                ImplementFourthReceivingFieldReqDto receptionServiceReq_1 = new ImplementFourthReceivingFieldReqDto();
                if (receptionServiceRes != null) {
                    receptionServiceReq_1.setFieldName(receptionServiceRes.getSecondFieldName());//SimpleFieldAssign//sourceId:1468155_1_58570
                    receptionServiceReq_1.setFieldValue(receptionServiceRes.getCustomField1());//SimpleFieldAssign//sourceId:1468156_1_58570
                }

                /*M3接收消息标题字段名及字段值[8259]  用于特殊方法接收上游入参。 */
                Assert.isNull(receptionServiceReq_1.getFieldName(), "D3执行问题消息标题接收变量(公共)-M3接收消息标题字段名及字段值-字段名不能为空", false);
                Assert.isNull(receptionServiceReq_1.getFieldValue(), "D3执行问题消息标题接收变量(公共)-M3接收消息标题字段名及字段值-字段值不能为空", false);
                receptionServiceRes_2 = nbQuestion.implementFourthReceivingField(receptionServiceReq_1);


                receptionServiceRes_3 = receptionServiceRes_2;
            } else if ((reqDto != null && reqDto.getQuestionStatus() != null && reqDto.getQuestionStatus().equals("REJECTED"))) {
                //elseif(D3执行问题消息标题接收变量(公共).问题状态 等于 已拒绝)  58564

//ModelCode: receptionService
                ImplementFourthReceivingFieldRespDto receptionServiceRes_4 = null;
                ImplementFourthReceivingFieldReqDto receptionServiceReq_2 = new ImplementFourthReceivingFieldReqDto();
                if (receptionServiceRes != null) {
                    receptionServiceReq_2.setFieldName(receptionServiceRes.getSecondFieldName());//SimpleFieldAssign//sourceId:1468155_1_58571
                    receptionServiceReq_2.setFieldValue(receptionServiceRes.getCustomField2());//SimpleFieldAssign//sourceId:1468156_1_58571
                }

                /*M3接收消息标题字段名及字段值[8259]  用于特殊方法接收上游入参。 */
                Assert.isNull(receptionServiceReq_2.getFieldName(), "D3执行问题消息标题接收变量(公共)-M3接收消息标题字段名及字段值-字段名不能为空", false);
                Assert.isNull(receptionServiceReq_2.getFieldValue(), "D3执行问题消息标题接收变量(公共)-M3接收消息标题字段名及字段值-字段值不能为空", false);
                receptionServiceRes_4 = nbQuestion.implementFourthReceivingField(receptionServiceReq_2);


                receptionServiceRes_3 = receptionServiceRes_4;
            } else if ((reqDto != null && reqDto.getQuestionStatus() != null && reqDto.getQuestionStatus().equals("SUSPENDED"))) {
                //elseif(D3执行问题消息标题接收变量(公共).问题状态 等于 已挂起)  58565

//ModelCode: receptionService
                ImplementFourthReceivingFieldRespDto receptionServiceRes_5 = null;
                ImplementFourthReceivingFieldReqDto receptionServiceReq_3 = new ImplementFourthReceivingFieldReqDto();
                if (receptionServiceRes != null) {
                    receptionServiceReq_3.setFieldName(receptionServiceRes.getSecondFieldName());//SimpleFieldAssign//sourceId:1468155_1_58572
                    receptionServiceReq_3.setFieldValue(receptionServiceRes.getCustomField3());//SimpleFieldAssign//sourceId:1468156_1_58572
                }

                /*M3接收消息标题字段名及字段值[8259]  用于特殊方法接收上游入参。 */
                Assert.isNull(receptionServiceReq_3.getFieldName(), "D3执行问题消息标题接收变量(公共)-M3接收消息标题字段名及字段值-字段名不能为空", false);
                Assert.isNull(receptionServiceReq_3.getFieldValue(), "D3执行问题消息标题接收变量(公共)-M3接收消息标题字段名及字段值-字段值不能为空", false);
                receptionServiceRes_5 = nbQuestion.implementFourthReceivingField(receptionServiceReq_3);


                receptionServiceRes_3 = receptionServiceRes_5;
            } else if ((reqDto != null && reqDto.getQuestionStatus() != null && reqDto.getQuestionStatus().equals("CLOSED"))) {
                //elseif(D3执行问题消息标题接收变量(公共).问题状态 等于 已关闭)  58566

//ModelCode: receptionService
                ImplementFourthReceivingFieldRespDto receptionServiceRes_6 = null;
                ImplementFourthReceivingFieldReqDto receptionServiceReq_4 = new ImplementFourthReceivingFieldReqDto();
                if (receptionServiceRes != null) {
                    receptionServiceReq_4.setFieldName(receptionServiceRes.getSecondFieldName());//SimpleFieldAssign//sourceId:1468155_1_58573
                    receptionServiceReq_4.setFieldValue(receptionServiceRes.getCustomField4());//SimpleFieldAssign//sourceId:1468156_1_58573
                }

                /*M3接收消息标题字段名及字段值[8259]  用于特殊方法接收上游入参。 */
                Assert.isNull(receptionServiceReq_4.getFieldName(), "D3执行问题消息标题接收变量(公共)-M3接收消息标题字段名及字段值-字段名不能为空", false);
                Assert.isNull(receptionServiceReq_4.getFieldValue(), "D3执行问题消息标题接收变量(公共)-M3接收消息标题字段名及字段值-字段值不能为空", false);
                receptionServiceRes_6 = nbQuestion.implementFourthReceivingField(receptionServiceReq_4);


                receptionServiceRes_3 = receptionServiceRes_6;
            } else if ((reqDto != null && reqDto.getQuestionStatus() != null && reqDto.getQuestionStatus().equals("RESOLVED"))) {
                //elseif(D3执行问题消息标题接收变量(公共).问题状态 等于 已解决)  58567

//ModelCode: receptionService
                ImplementFourthReceivingFieldRespDto receptionServiceRes_7 = null;
                ImplementFourthReceivingFieldReqDto receptionServiceReq_5 = new ImplementFourthReceivingFieldReqDto();
                if (receptionServiceRes != null) {
                    receptionServiceReq_5.setFieldName(receptionServiceRes.getSecondFieldName());//SimpleFieldAssign//sourceId:1468155_1_58574
                    receptionServiceReq_5.setFieldValue(receptionServiceRes.getCustomField5());//SimpleFieldAssign//sourceId:1468156_1_58574
                }

                /*M3接收消息标题字段名及字段值[8259]  用于特殊方法接收上游入参。 */
                Assert.isNull(receptionServiceReq_5.getFieldName(), "D3执行问题消息标题接收变量(公共)-M3接收消息标题字段名及字段值-字段名不能为空", false);
                Assert.isNull(receptionServiceReq_5.getFieldValue(), "D3执行问题消息标题接收变量(公共)-M3接收消息标题字段名及字段值-字段值不能为空", false);
                receptionServiceRes_7 = nbQuestion.implementFourthReceivingField(receptionServiceReq_5);


                receptionServiceRes_3 = receptionServiceRes_7;
            } else {
                //else  58568

//异常结束 58569
                throw new BizException("500", "系统异常，请联系管理员！", false);
            }
        } else {
            //else  58559

//ModelCode: receptionService
            ImplementFourthReceivingFieldRespDto receptionServiceRes_8 = null;
            ImplementFourthReceivingFieldReqDto receptionServiceReq_6 = new ImplementFourthReceivingFieldReqDto();
            if (receptionServiceRes != null) {
                receptionServiceReq_6.setFieldName(receptionServiceRes.getFirstFieldName());//SimpleFieldAssign//sourceId:1468155_1_58561
            }
            if (reqDto != null) {
                receptionServiceReq_6.setFieldValue(reqDto.getIdCardName());//SimpleFieldAssign//sourceId:1468156_1_58561
            }

            /*M3接收消息标题字段名及字段值[8259]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_6.getFieldName(), "D3执行问题消息标题接收变量(公共)-M3接收消息标题字段名及字段值-字段名不能为空", false);
            Assert.isNull(receptionServiceReq_6.getFieldValue(), "D3执行问题消息标题接收变量(公共)-M3接收消息标题字段名及字段值-字段值不能为空", false);
            receptionServiceRes_8 = nbQuestion.implementFourthReceivingField(receptionServiceReq_6);


            receptionServiceRes_3 = receptionServiceRes_8;
        }
        ImplementQuestionMsgTitleReceiveVariableComRespDto retData = new ImplementQuestionMsgTitleReceiveVariableComRespDto();
        if (receptionServiceRes_3 != null) {
            retData.setFieldName(receptionServiceRes_3.getFieldName());//SimpleFieldAssign//sourceId:1468163_1
            retData.setFieldValue(receptionServiceRes_3.getFieldValue());//SimpleFieldAssign//sourceId:1468164_1
        }


        return retData;
    }

    @Resource
    private MOmsQuestionService mOmsQuestionService;
    @Resource
    private ConfSchemeService confSchemeService;
    @Resource
    private InterfaceModeService interfaceModeService;
    @Resource
    private DivineDataService fwCompDivineDataClient;
    @Resource
    private CalculationRulesService calculationRulesService;
    @Resource
    private WorkTasksService workTasksService;
    @Resource
    private BatchService batchService;
    @Resource
    private MessageService messageService;
    @Resource
    private MessageService fwCompMessageClient;
    @Resource
    private MOmsEvaluationObjectTargetCycleService mOmsEvaluationObjectTargetCycleService;
    @Resource
    private PlanDataService planDataService;
    @Resource
    private UnstructuredDataService unstructuredDataService;
    @Resource
    private MOmsTaskService mOmsTaskService;
    @Resource
    private UnstructuredDataService unstructuredDataService;
//@Resource
    //private MCustomFields4Service mCustomFields4Service;
//@Resource
    //private MCustomFields3Service mCustomFields3Service;
//@Resource
    //private MMmmShellService mMmmShellService;
    //
}
